Home
last modified time | relevance | path

Searched refs:policy_service (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/chrome/browser/policy/cloud/
Dcloud_policy_browsertest.cc169 ASSERT_TRUE(PolicyServiceIsEmpty(g_browser_process->policy_service())) in SetUpOnMainThread()
239 return profile_connector->policy_service(); in GetPolicyService()
276 PolicyService* policy_service = GetPolicyService(); in IN_PROC_BROWSER_TEST_F() local
280 policy_service->RefreshPolicies(run_loop.QuitClosure()); in IN_PROC_BROWSER_TEST_F()
285 EXPECT_TRUE(empty.Equals(policy_service->GetPolicies( in IN_PROC_BROWSER_TEST_F()
294 policy_service->RefreshPolicies(run_loop.QuitClosure()); in IN_PROC_BROWSER_TEST_F()
297 EXPECT_TRUE(expected.Equals(policy_service->GetPolicies( in IN_PROC_BROWSER_TEST_F()
302 PolicyService* policy_service = GetPolicyService(); in IN_PROC_BROWSER_TEST_F() local
303 policy_service->AddObserver(POLICY_DOMAIN_CHROME, this); in IN_PROC_BROWSER_TEST_F()
309 policy_service->RefreshPolicies(run_loop.QuitClosure()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dcomponent_cloud_policy_browsertest.cc129 ASSERT_TRUE(PolicyServiceIsEmpty(g_browser_process->policy_service())) in SetUpOnMainThread()
220 PolicyService* policy_service = profile_connector->policy_service(); in RefreshPolicies() local
222 policy_service->RefreshPolicies(run_loop.QuitClosure()); in RefreshPolicies()
/external/chromium_org/chrome/browser/prefs/
Dchrome_pref_service_factory.cc81 policy::PolicyService* policy_service, in PrepareBuilder() argument
102 policy_service, in PrepareBuilder()
107 policy_service, in PrepareBuilder()
136 policy::PolicyService* policy_service, in CreateLocalState() argument
143 policy_service, in CreateLocalState()
153 policy::PolicyService* policy_service, in CreateProfilePrefs() argument
163 policy_service, in CreateProfilePrefs()
Dchrome_pref_service_factory.h50 policy::PolicyService* policy_service,
57 policy::PolicyService* policy_service,
/external/chromium_org/chrome/browser/chromeos/policy/
Dnetwork_configuration_updater.cc27 PolicyService* policy_service, in CreateForDevicePolicy() argument
33 policy_service, in CreateForDevicePolicy()
61 PolicyService* policy_service, in NetworkConfigurationUpdater() argument
67 policy_change_registrar_(policy_service, in NetworkConfigurationUpdater()
70 policy_service_(policy_service) { in NetworkConfigurationUpdater()
Duser_network_configuration_updater.cc28 PolicyService* policy_service, in CreateForUserPolicy() argument
34 policy_service, in CreateForUserPolicy()
54 PolicyService* policy_service, in UserNetworkConfigurationUpdater() argument
59 policy_service, in UserNetworkConfigurationUpdater()
Duser_network_configuration_updater.h56 PolicyService* policy_service,
73 PolicyService* policy_service,
Dnetwork_configuration_updater.h49 PolicyService* policy_service,
63 PolicyService* policy_service,
Dcloud_external_data_policy_observer.cc42 PolicyService* policy_service);
61 PolicyService* policy_service) in PolicyServiceObserver() argument
64 policy_service_(policy_service) { in PolicyServiceObserver()
190 policy_connector->policy_service())); in Observe()
Dpower_policy_browsertest.cc238 PolicyService* policy_service = in RunClosureAndWaitForUserPolicyUpdate() local
239 ProfilePolicyConnectorFactory::GetForProfile(profile)->policy_service(); in RunClosureAndWaitForUserPolicyUpdate()
240 ASSERT_TRUE(policy_service); in RunClosureAndWaitForUserPolicyUpdate()
241 policy_service->AddObserver(POLICY_DOMAIN_CHROME, &observer); in RunClosureAndWaitForUserPolicyUpdate()
244 policy_service->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); in RunClosureAndWaitForUserPolicyUpdate()
Duser_network_configuration_updater_factory.cc89 profile_connector->policy_service(), in BuildServiceInstanceFor()
Duser_cloud_external_data_manager_browsertest.cc82 const PolicyMap& policies = policy_connector->policy_service()->GetPolicies( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/policy/core/common/
Dpolicy_service.cc11 PolicyChangeRegistrar::PolicyChangeRegistrar(PolicyService* policy_service, in PolicyChangeRegistrar() argument
13 : policy_service_(policy_service), in PolicyChangeRegistrar()
Dpolicy_statistics_collector.cc29 PolicyService* policy_service, in PolicyStatisticsCollector() argument
34 policy_service_(policy_service), in PolicyStatisticsCollector()
Dpolicy_statistics_collector_unittest.cc58 PolicyService* policy_service, in TestPolicyStatisticsCollector() argument
63 policy_service, in TestPolicyStatisticsCollector()
Dpolicy_statistics_collector.h37 PolicyService* policy_service,
Dpolicy_service.h87 PolicyChangeRegistrar(PolicyService* policy_service,
/external/chromium_org/chrome/browser/chromeos/login/screens/
Duser_image_screen.cc280 policy::PolicyService* policy_service = in Show() local
282 policy_service(); in Show()
283 if (policy_service->GetPolicies( in Show()
296 policy_service, in Show()
/external/chromium_org/chrome/browser/ui/sync/
Done_click_signin_sync_starter.cc123 policy::UserPolicySigninService* policy_service = in ConfirmSignin() local
125 policy_service->RegisterForPolicy( in ConfirmSignin()
204 policy::UserPolicySigninService* policy_service = in LoadPolicyWithCachedCredentials() local
206 policy_service->FetchPolicyForSignedInUser( in LoadPolicyWithCachedCredentials()
/external/chromium_org/chrome/browser/chromeos/login/
Dlogin_performer.cc256 policy::DeviceLocalAccountPolicyService* policy_service = in LoginAsPublicAccount() local
259 if (!policy_service || !policy_service->IsPolicyAvailableForUser(username)) { in LoginAsPublicAccount()
/external/chromium_org/chrome/browser/policy/
Dprofile_policy_connector.h46 PolicyService* policy_service() const { return policy_service_.get(); } in policy_service() function
/external/chromium_org/chrome/test/base/
Dtesting_profile.cc241 scoped_ptr<policy::PolicyService> policy_service, in TestingProfile() argument
258 policy_service_(policy_service.release()) { in TestingProfile()
913 scoped_ptr<policy::PolicyService> policy_service) { in SetPolicyService() argument
914 policy_service_ = policy_service.Pass(); in SetPolicyService()
Dtesting_io_thread_state.cc51 TestingBrowserProcess::GetGlobal()->policy_service(), in TestingIOThreadState()
Dtesting_profile.h114 void SetPolicyService(scoped_ptr<policy::PolicyService> policy_service);
159 scoped_ptr<policy::PolicyService> policy_service,
/external/chromium_org/chrome/browser/
Dbrowser_process.h137 virtual policy::PolicyService* policy_service() = 0;

12