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

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

Issue 762863002: Removed policy::PolicyNamespaceKey. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass values in ctors Created 6 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 4d7380c62fd456f167e437ba05bdb2ed62910a74..2e039dc4b9c92908c9188a72b7d7345c4a56e66b 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager.cc
@@ -23,12 +23,13 @@
namespace policy {
CloudPolicyManager::CloudPolicyManager(
- const PolicyNamespaceKey& policy_ns_key,
+ const std::string& policy_type,
+ const std::string& settings_entity_id,
CloudPolicyStore* cloud_policy_store,
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
const scoped_refptr<base::SequencedTaskRunner>& file_task_runner,
const scoped_refptr<base::SequencedTaskRunner>& io_task_runner)
- : core_(policy_ns_key, cloud_policy_store, task_runner),
+ : core_(policy_type, settings_entity_id, cloud_policy_store, task_runner),
waiting_for_policy_refresh_(false),
file_task_runner_(file_task_runner),
io_task_runner_(io_task_runner) {

Powered by Google App Engine
This is Rietveld 408576698