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

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

Issue 349643002: Decoupled the SchemaRegistryService from SchemaRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: chrome/browser/policy/profile_policy_connector_factory.cc
diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc
index 8089a3d2ce846440b30e9330d060b13db4be4957..5f21949dd2a13f4631d8693db29bdfcd4dff53f0 100644
--- a/chrome/browser/policy/profile_policy_connector_factory.cc
+++ b/chrome/browser/policy/profile_policy_connector_factory.cc
@@ -91,7 +91,8 @@ ProfilePolicyConnectorFactory::CreateForProfileInternal(
CloudPolicyManager* user_cloud_policy_manager = NULL;
#if defined(ENABLE_CONFIGURATION_POLICY)
- schema_registry = SchemaRegistryServiceFactory::GetForContext(profile);
+ schema_registry =
+ SchemaRegistryServiceFactory::GetForContext(profile)->registry();
#if defined(OS_CHROMEOS)
chromeos::User* user = NULL;
« no previous file with comments | « chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc ('k') | chrome/browser/policy/schema_registry_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698