Home
last modified time | relevance | path

Searched refs:policy_manager (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/policy/cloud/
Dcloud_policy_manager_browsertest.cc78 ASSERT_TRUE(policy_manager()); in SetUpOnMainThread()
79 policy_manager()->Connect( in SetUpOnMainThread()
96 UserCloudPolicyManagerChromeOS* policy_manager() { in policy_manager() function in policy::CloudPolicyManagerTest
101 UserCloudPolicyManager* policy_manager() { in policy_manager() function in policy::CloudPolicyManagerTest
110 ASSERT_TRUE(policy_manager()); in Register()
111 ASSERT_TRUE(policy_manager()->core()->client()); in Register()
121 policy_manager()->core()->client()->AddObserver(&observer); in Register()
131 policy_manager()->core()->client()->Register( in Register()
136 policy_manager()->core()->client()->RemoveObserver(&observer); in Register()
155 EXPECT_FALSE(policy_manager()->core()->client()->is_registered()); in IN_PROC_BROWSER_TEST_F()
[all …]
Duser_policy_signin_service_base.cc29 UserCloudPolicyManager* policy_manager, in UserPolicySigninServiceBase() argument
32 : policy_manager_(policy_manager), in UserPolicySigninServiceBase()
63 UserCloudPolicyManager* manager = policy_manager(); in FetchPolicyForSignedInUser()
141 UserCloudPolicyManager* manager = policy_manager(); in PrepareForUserCloudPolicyManagerShutdown()
156 DCHECK(!policy_manager() || !policy_manager()->core()->client()); in CreateClientForRegistrationOnly()
160 if (!policy_manager() || !ShouldLoadPolicyForUser(username)) { in CreateClientForRegistrationOnly()
184 if (!policy_manager() || !signin_manager()) { in InitializeOnProfileReady()
211 UserCloudPolicyManager* manager = policy_manager(); in InitializeForSignedInUser()
237 UserCloudPolicyManager* manager = policy_manager(); in InitializeUserCloudPolicyManager()
253 UserCloudPolicyManager* manager = policy_manager(); in ShutdownUserCloudPolicyManager()
Duser_policy_signin_service.cc30 UserCloudPolicyManager* policy_manager, in UserPolicySigninService() argument
37 policy_manager, in UserPolicySigninService()
112 if (!policy_manager()) { in OnRefreshTokenAvailable()
136 UserCloudPolicyManager* manager = policy_manager(); in ShutdownUserCloudPolicyManager()
145 UserCloudPolicyManager* manager = policy_manager(); in OnInitializationCompleted()
168 DCHECK(!policy_manager()->IsClientRegistered()); in RegisterCloudPolicyService()
177 policy_manager()->core()->client(), in RegisterCloudPolicyService()
192 if (policy_manager()->IsClientRegistered()) { in ProhibitSignoutIfNeeded()
Duser_cloud_policy_invalidator_factory.cc45 CloudPolicyManager* policy_manager = in BuildServiceInstanceFor() local
48 CloudPolicyManager* policy_manager = in BuildServiceInstanceFor() local
51 if (!policy_manager) in BuildServiceInstanceFor()
54 return new UserCloudPolicyInvalidator(profile, policy_manager); in BuildServiceInstanceFor()
Dcomponent_cloud_policy_browsertest.cc175 UserCloudPolicyManagerChromeOS* policy_manager = in SignInAndRegister() local
178 ASSERT_TRUE(policy_manager); in SignInAndRegister()
187 UserCloudPolicyManager* policy_manager = in SignInAndRegister() local
190 ASSERT_TRUE(policy_manager); in SignInAndRegister()
191 policy_manager->Connect( in SignInAndRegister()
200 ASSERT_TRUE(policy_manager->core()->client()); in SignInAndRegister()
205 policy_manager->core()->client()->AddObserver(&observer); in SignInAndRegister()
206 policy_manager->core()->client()->SetupRegistration(kDMToken, kDeviceID); in SignInAndRegister()
209 policy_manager->core()->client()->RemoveObserver(&observer); in SignInAndRegister()
Dcloud_policy_browsertest.cc228 UserCloudPolicyManagerChromeOS* policy_manager = in SetUpOnMainThread() local
231 ASSERT_TRUE(policy_manager); in SetUpOnMainThread()
240 UserCloudPolicyManager* policy_manager = in SetUpOnMainThread() local
243 ASSERT_TRUE(policy_manager); in SetUpOnMainThread()
244 policy_manager->Connect( in SetUpOnMainThread()
252 ASSERT_TRUE(policy_manager->core()->client()); in SetUpOnMainThread()
257 policy_manager->core()->client()->AddObserver(&observer); in SetUpOnMainThread()
261 ASSERT_FALSE(policy_manager->core()->client()->is_registered()); in SetUpOnMainThread()
268 policy_manager->core()->client()->Register( in SetUpOnMainThread()
273 policy_manager->core()->client()->RemoveObserver(&observer); in SetUpOnMainThread()
[all …]
Duser_policy_signin_service_mobile.cc50 UserCloudPolicyManager* policy_manager, in UserPolicySigninService() argument
57 policy_manager, in UserPolicySigninService()
149 UserCloudPolicyManager* manager = policy_manager(); in OnInitializationCompleted()
198 DCHECK(!policy_manager()->IsClientRegistered()); in RegisterCloudPolicyService()
199 DCHECK(policy_manager()->core()->client()); in RegisterCloudPolicyService()
206 policy_manager()->core()->client(), in RegisterCloudPolicyService()
Duser_cloud_policy_invalidator.cc21 CloudPolicyManager* policy_manager) in UserCloudPolicyInvalidator() argument
23 policy_manager->core(), in UserCloudPolicyInvalidator()
Duser_policy_signin_service_base.h69 UserCloudPolicyManager* policy_manager,
156 UserCloudPolicyManager* policy_manager() { return policy_manager_; } in policy_manager() function
Duser_cloud_policy_invalidator.h33 CloudPolicyManager* policy_manager);
Duser_policy_signin_service_mobile.h38 UserCloudPolicyManager* policy_manager,
Duser_policy_signin_service.h39 UserCloudPolicyManager* policy_manager,
/external/chromium_org/chrome/browser/chromeos/login/
Dversion_info_updater.cc50 policy::DeviceCloudPolicyManagerChromeOS* policy_manager = in ~VersionInfoUpdater() local
52 if (policy_manager) in ~VersionInfoUpdater()
53 policy_manager->core()->store()->RemoveObserver(this); in ~VersionInfoUpdater()
70 policy::DeviceCloudPolicyManagerChromeOS* policy_manager = in StartUpdate() local
72 if (policy_manager) { in StartUpdate()
73 policy_manager->core()->store()->AddObserver(this); in StartUpdate()
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_external_data_manager_browsertest.cc62 UserCloudPolicyManagerChromeOS* policy_manager = in IN_PROC_BROWSER_TEST_F() local
66 UserCloudPolicyManager* policy_manager = in IN_PROC_BROWSER_TEST_F() local
69 ASSERT_TRUE(policy_manager); in IN_PROC_BROWSER_TEST_F()
74 test::SetExternalDataReference(policy_manager->core(), in IN_PROC_BROWSER_TEST_F()
Dpower_policy_browsertest.cc268 UserCloudPolicyManagerChromeOS* policy_manager = in ReloadUserPolicy() local
270 ASSERT_TRUE(policy_manager); in ReloadUserPolicy()
271 policy_manager->core()->store()->Load(); in ReloadUserPolicy()
/external/chromium_org/chrome/browser/chromeos/system/
Dinput_device_settings.cc243 policy::DeviceCloudPolicyManagerChromeOS* policy_manager = in ForceKeyboardDrivenUINavigation() local
245 if (!policy_manager) in ForceKeyboardDrivenUINavigation()
248 if (policy_manager->IsRemoraRequisition() || in ForceKeyboardDrivenUINavigation()
249 policy_manager->IsSharkRequisition()) { in ForceKeyboardDrivenUINavigation()
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
Dwallpaper_manager_policy_browsertest.cc71 policy::UserCloudPolicyManagerChromeOS* policy_manager = in GetStoreForUser() local
73 if (!policy_manager) { in GetStoreForUser()
77 return policy_manager->core()->store(); in GetStoreForUser()
/external/chromium_org/chrome/browser/ui/ash/
Dsystem_tray_delegate_chromeos.cc279 policy::DeviceCloudPolicyManagerChromeOS* policy_manager = in InitializeOnAdapterReady() local
281 if (policy_manager) in InitializeOnAdapterReady()
282 policy_manager->core()->store()->AddObserver(this); in InitializeOnAdapterReady()
314 policy::DeviceCloudPolicyManagerChromeOS* policy_manager = in ~SystemTrayDelegateChromeOS() local
316 if (policy_manager) in ~SystemTrayDelegateChromeOS()
317 policy_manager->core()->store()->RemoveObserver(this); in ~SystemTrayDelegateChromeOS()
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
Duser_image_manager_browsertest.cc88 policy::UserCloudPolicyManagerChromeOS* policy_manager = in GetStoreForUser() local
90 if (!policy_manager) { in GetStoreForUser()
94 return policy_manager->core()->store(); in GetStoreForUser()