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

Unified Diff: components/policy/core/common/cloud/user_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
« no previous file with comments | « components/policy/core/common/cloud/mock_cloud_policy_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ed9e590c779b3e78433912fed2404fea9d633b0d..5af72fb2a9906c495dabbfbc3cbd3c8409ef2e9e 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager.cc
@@ -26,15 +26,16 @@ UserCloudPolicyManager::UserCloudPolicyManager(
const scoped_refptr<base::SequencedTaskRunner>& task_runner,
const scoped_refptr<base::SequencedTaskRunner>& file_task_runner,
const scoped_refptr<base::SequencedTaskRunner>& io_task_runner)
- : CloudPolicyManager(
- PolicyNamespaceKey(GetChromeUserPolicyType(), std::string()),
- store.get(),
- task_runner,
- file_task_runner,
- io_task_runner),
+ : CloudPolicyManager(GetChromeUserPolicyType(),
+ std::string(),
+ store.get(),
+ task_runner,
+ file_task_runner,
+ io_task_runner),
store_(store.Pass()),
component_policy_cache_path_(component_policy_cache_path),
- external_data_manager_(external_data_manager.Pass()) {}
+ external_data_manager_(external_data_manager.Pass()) {
+}
UserCloudPolicyManager::~UserCloudPolicyManager() {}
@@ -74,7 +75,7 @@ UserCloudPolicyManager::CreateCloudPolicyClient(
std::string(),
kPolicyVerificationKeyHash,
USER_AFFILIATION_NONE,
- NULL,
+ nullptr,
device_management_service,
request_context)).Pass();
}
« no previous file with comments | « components/policy/core/common/cloud/mock_cloud_policy_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698