Index: chrome/browser/policy/browser_policy_connector.cc |
diff --git a/chrome/browser/policy/browser_policy_connector.cc b/chrome/browser/policy/browser_policy_connector.cc |
index e7bc9f7d88a8c660521f78b5f844a24513ad42df..97c08414e4061cc40ccde45ec97a055db1d53bf4 100644 |
--- a/chrome/browser/policy/browser_policy_connector.cc |
+++ b/chrome/browser/policy/browser_policy_connector.cc |
@@ -33,6 +33,7 @@ |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
+#include "components/policy/core/common/schema.h" |
#include "content/public/browser/browser_thread.h" |
#include "google_apis/gaia/gaia_auth_util.h" |
#include "google_apis/gaia/gaia_constants.h" |
@@ -326,6 +327,7 @@ scoped_ptr<PolicyService> BrowserPolicyConnector::CreatePolicyService( |
scoped_ptr<PolicyService> service(new PolicyServiceImpl(providers)); |
scoped_refptr<PolicyDomainDescriptor> descriptor = new PolicyDomainDescriptor( |
POLICY_DOMAIN_CHROME); |
+ descriptor->RegisterComponent("", SchemaOwner::Wrap(GetChromeSchemaNode())); |
service->RegisterPolicyDomain(descriptor); |
return service.Pass(); |
} |