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

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

Issue 2728463004: Remove enterprise serial number recovery feature (Closed)
Patch Set: Removed access to removed fied in policy_testserver.py. Created 3 years, 7 months 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_service.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_service.cc b/components/policy/core/common/cloud/cloud_policy_service.cc
index f50170777bf2979c9f22fdfe11169e3f4da1fbe9..ca806791cabb47565222cfe668da19c6e30f2163 100644
--- a/components/policy/core/common/cloud/cloud_policy_service.cc
+++ b/components/policy/core/common/cloud/cloud_policy_service.cc
@@ -123,12 +123,6 @@ void CloudPolicyService::OnStoreLoaded(CloudPolicyStore* store) {
else
client_->clear_public_key_version();
- // Whether to submit the machine ID.
- bool submit_machine_id = false;
- if (policy && policy->has_valid_serial_number_missing())
- submit_machine_id = policy->valid_serial_number_missing();
- client_->set_submit_machine_id(submit_machine_id);
-
// Finally, set up registration if necessary.
if (policy && policy->has_request_token() && policy->has_device_id() &&
!client_->is_registered()) {

Powered by Google App Engine
This is Rietveld 408576698