Home
last modified time | relevance | path

Searched refs:cached_policy (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/policy/
Duser_policy_cache.cc52 em::CachedCloudPolicyResponse cached_policy; in Run() local
54 cached_policy.mutable_cloud_policy()->CopyFrom(*cloud_policy_response_); in Run()
57 cached_policy.set_unmanaged(true); in Run()
58 cached_policy.set_timestamp(base::Time::NowFromSystemTime().ToTimeT()); in Run()
60 if (!cached_policy.SerializeToString(&data)) { in Run()
Duser_policy_cache_unittest.cc94 em::CachedCloudPolicyResponse cached_policy; in WritePolicy() local
95 cached_policy.mutable_cloud_policy()->CopyFrom(policy); in WritePolicy()
96 EXPECT_TRUE(cached_policy.SerializeToString(&data)); in WritePolicy()
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_unittest.cc186 EXPECT_CALL(m_, cached_policy()) in ExpectWhitelistOp()
206 EXPECT_CALL(m_, cached_policy()) in FailingStorePropertyOp()
289 EXPECT_CALL(m_, cached_policy()) in DoRetrieveProperty()
331 EXPECT_CALL(m_, cached_policy()) in TEST_F()
351 EXPECT_CALL(m_, cached_policy()) in TEST_F()
371 EXPECT_CALL(m_, cached_policy()) in TEST_F()
463 EXPECT_CALL(m_, cached_policy()) in TEST_F()
537 EXPECT_CALL(m_, cached_policy()) in TEST_F()
575 EXPECT_CALL(m_, cached_policy()) in TEST_F()
Dmock_ownership_service.h20 MOCK_METHOD0(cached_policy, const em::PolicyData&(void));
Dsigned_settings.cc88 pol.ParseFromString(service->cached_policy().policy_value()); in EnumerateWhitelist()
401 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy()
437 to_sign.CheckTypeAndMergeFrom(service_->cached_policy()); in Execute()
553 to_sign.CheckTypeAndMergeFrom(service_->cached_policy()); in Execute()
707 const em::PolicyData& data = service_->cached_policy(); in LookUpInPolicy()
714 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy()
Dsigned_settings_helper_unittest.cc121 EXPECT_CALL(m_, cached_policy()) in TEST_F()
171 EXPECT_CALL(m_, cached_policy()) in TEST_F()
Downership_service.h55 virtual const em::PolicyData& cached_policy();
Downership_service.cc68 const em::PolicyData& OwnershipService::cached_policy() { in cached_policy() function in chromeos::OwnershipService