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

Unified Diff: components/policy/core/common/cloud/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/cloud_policy_manager.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_manager.cc b/components/policy/core/common/cloud/cloud_policy_manager.cc
index 29e920289c8eac68d9f36025bd91c82f222eaafa..7fca2009466c51934e5e7868f719403eea65d597 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager.cc
@@ -114,6 +114,7 @@ void CloudPolicyManager::GetChromePolicy(PolicyMap* policy_map) {
}
void CloudPolicyManager::CreateComponentCloudPolicyService(
+ const std::string& policy_type,
const base::FilePath& policy_cache_path,
const scoped_refptr<net::URLRequestContextGetter>& request_context,
CloudPolicyClient* client) {
@@ -138,8 +139,9 @@ void CloudPolicyManager::CreateComponentCloudPolicyService(
std::unique_ptr<ResourceCache> resource_cache(
new ResourceCache(policy_cache_path, file_task_runner_));
component_policy_service_.reset(new ComponentCloudPolicyService(
- this, schema_registry(), core(), client, std::move(resource_cache),
- request_context, file_task_runner_, io_task_runner_));
+ policy_type, this, schema_registry(), core(), client,
+ std::move(resource_cache), request_context, file_task_runner_,
+ io_task_runner_));
#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
}

Powered by Google App Engine
This is Rietveld 408576698