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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_policy_service.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: chrome/browser/chromeos/policy/device_local_account_policy_service.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
index 482544ca81909aea7e329892315b54f20541e954..e6a73bcbaa29dec474bafc899e9f80b454efc873 100644
--- a/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_service.cc
@@ -32,7 +32,6 @@
#include "chromeos/settings/cros_settings_provider.h"
#include "components/policy/core/browser/browser_policy_connector.h"
#include "components/policy/core/common/cloud/cloud_policy_client.h"
-#include "components/policy/core/common/cloud/cloud_policy_constants.h"
emaxx 2016/11/29 14:24:58 nit: I think it's still necessary, e.g. for dm_pro
Thiemo Nagel 2016/11/29 15:16:38 Done.
#include "components/policy/core/common/cloud/cloud_policy_refresh_scheduler.h"
#include "components/policy/core/common/cloud/device_management_service.h"
#include "components/policy/core/common/cloud/resource_cache.h"
@@ -66,9 +65,8 @@ std::unique_ptr<CloudPolicyClient> CreateClient(
}
std::unique_ptr<CloudPolicyClient> client(new CloudPolicyClient(
- std::string(), std::string(), kPolicyVerificationKeyHash,
- device_management_service, system_request_context,
- nullptr /* signing_service */));
+ std::string(), std::string(), device_management_service,
+ system_request_context, nullptr /* signing_service */));
client->SetupRegistration(policy_data->request_token(),
policy_data->device_id());
return client;

Powered by Google App Engine
This is Rietveld 408576698