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

Unified Diff: chromeos/system/statistics_provider.cc

Issue 265013002: Revert of Enable Enterprise enrollment on desktop builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « chromeos/dbus/session_manager_client.cc ('k') | components/policy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/statistics_provider.cc
diff --git a/chromeos/system/statistics_provider.cc b/chromeos/system/statistics_provider.cc
index cc3375652a6599942bf45a1e96d9c3c9f3b0f933..93557b9e65972f5184a0ed320f15a06e0eb3d8a0 100644
--- a/chromeos/system/statistics_provider.cc
+++ b/chromeos/system/statistics_provider.cc
@@ -37,7 +37,6 @@
const char kHardwareClassCrosSystemKey[] = "hwid";
const char kUnknownHardwareClass[] = "unknown";
-const char kSerialNumber[] = "sn";
// File to get machine hardware info from, and key/value delimiters of
// the file.
@@ -270,12 +269,6 @@
oem_manifest_loaded_ = true;
}
- if (!base::SysInfo::IsRunningOnChromeOS() &&
- machine_info_.find(kSerialNumber) == machine_info_.end()) {
- // Set stub value for testing.
- machine_info_[kSerialNumber] = "stub_serial_number";
- }
-
// Finished loading the statistics.
on_statistics_loaded_.Signal();
VLOG(1) << "Finished loading statistics.";
« no previous file with comments | « chromeos/dbus/session_manager_client.cc ('k') | components/policy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698