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

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

Issue 2537643003: Drop verification_key_hash from CloudPolicyClient constructor (Closed)
Patch Set: Fix CrOS compilation 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 a5d851bb44518d33d3b5c0082d2bb5be9be7a060..df58d25b2be251cbb2cffac510973ff923731871 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_manager.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_manager.cc
@@ -11,7 +11,6 @@
#include "base/memory/ptr_util.h"
#include "base/sequenced_task_runner.h"
#include "components/policy/core/common/cloud/cloud_external_data_manager.h"
-#include "components/policy/core/common/cloud/cloud_policy_constants.h"
emaxx 2016/11/29 14:24:58 nit: Same as above, see e.g. the dm_protocol::kChr
Thiemo Nagel 2016/11/29 15:16:38 Done.
#include "components/policy/core/common/cloud/cloud_policy_service.h"
#include "components/policy/core/common/cloud/user_cloud_policy_store.h"
#include "components/policy/core/common/policy_pref_names.h"
@@ -73,8 +72,7 @@ UserCloudPolicyManager::CreateCloudPolicyClient(
DeviceManagementService* device_management_service,
scoped_refptr<net::URLRequestContextGetter> request_context) {
return base::MakeUnique<CloudPolicyClient>(
- std::string(), std::string(), kPolicyVerificationKeyHash,
- device_management_service, request_context,
+ std::string(), std::string(), device_management_service, request_context,
nullptr /* signing_service_ */);
}

Powered by Google App Engine
This is Rietveld 408576698