Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: chrome/browser/policy/cloud_policy_browsertest.cc

Issue 12220060: Load policy before signin completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with ToT. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/policy/user_cloud_policy_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud_policy_browsertest.cc b/chrome/browser/policy/cloud_policy_browsertest.cc
index 3149d4858764b7640b8cbd3af7856ebba15057fb..0e8f100c0c8e6ff28051834418d71041cdbc18b0 100644
--- a/chrome/browser/policy/cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud_policy_browsertest.cc
@@ -171,7 +171,8 @@ class CloudPolicyTest : public InProcessBrowserTest {
UserCloudPolicyManagerFactory::GetForProfile(browser()->profile());
ASSERT_TRUE(policy_manager);
policy_manager->Connect(g_browser_process->local_state(),
- connector->device_management_service());
+ UserCloudPolicyManager::CreateCloudPolicyClient(
+ connector->device_management_service()).Pass());
#endif // defined(OS_CHROMEOS)
ASSERT_TRUE(policy_manager->core()->client());
« no previous file with comments | « no previous file | chrome/browser/policy/user_cloud_policy_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698