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

Unified Diff: components/policy/core/common/cloud/user_cloud_policy_manager.cc

Issue 2440473004: Add policy domain for signin screen apps (Closed)
Patch Set: More comments according to feedback Created 4 years, 1 month 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: components/policy/core/common/cloud/user_cloud_policy_manager.cc
diff --git a/components/policy/core/common/cloud/user_cloud_policy_manager.cc b/components/policy/core/common/cloud/user_cloud_policy_manager.cc
index 0a0302f2eebb61cc0ca4db1730d057bcf64af541..ebf23c0abd2227072a530e66967d9ab12ef19577 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager.cc
@@ -56,8 +56,9 @@ void UserCloudPolicyManager::Connect(
PrefService* local_state,
scoped_refptr<net::URLRequestContextGetter> request_context,
std::unique_ptr<CloudPolicyClient> client) {
- CreateComponentCloudPolicyService(component_policy_cache_path_,
- request_context, client.get());
+ CreateComponentCloudPolicyService(
+ dm_protocol::kChromeExtensionPolicyType, component_policy_cache_path_,
+ request_context, client.get());
core()->Connect(std::move(client));
core()->StartRefreshScheduler();
core()->TrackRefreshDelayPref(local_state,
« no previous file with comments | « components/policy/core/common/cloud/resource_cache.h ('k') | components/policy/core/common/policy_namespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698