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

Unified Diff: chromeos/system/statistics_provider.h

Issue 871013004: Don't do auto-enrollment if the write protect switch is off. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gperftools_prof_timer
Patch Set: Fix mistake in test adjustment. Created 5 years, 11 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: chromeos/system/statistics_provider.h
diff --git a/chromeos/system/statistics_provider.h b/chromeos/system/statistics_provider.h
index 3c79badd3d26c19d8b1af0b5f07782fdcfeaa1af..e70455f41dc60852d9b62d37a1f0788cc1a616cd 100644
--- a/chromeos/system/statistics_provider.h
+++ b/chromeos/system/statistics_provider.h
@@ -24,7 +24,9 @@ CHROMEOS_EXPORT extern const char kActivateDateKey[];
CHROMEOS_EXPORT extern const char kCustomizationIdKey[];
// Developer switch value.
-CHROMEOS_EXPORT extern const char kDevSwitchBootMode[];
+CHROMEOS_EXPORT extern const char kDevSwitchBootKey[];
+CHROMEOS_EXPORT extern const char kDevSwitchBootValueVerified[];
+CHROMEOS_EXPORT extern const char kDevSwitchBootValueDev[];
// Firmware type and associated values. The values are from crossystem output
// for the mainfw_type key. Normal and developer correspond to Chrome OS
@@ -62,6 +64,11 @@ CHROMEOS_EXPORT extern const char kOffersGroupCodeKey[];
// Release Brand Code key.
CHROMEOS_EXPORT extern const char kRlzBrandCodeKey[];
+// Write protect switch value.
+CHROMEOS_EXPORT extern const char kWriteProtectSwitchBootKey[];
+CHROMEOS_EXPORT extern const char kWriteProtectSwitchBootValueOff[];
+CHROMEOS_EXPORT extern const char kWriteProtectSwitchBootValueOn[];
+
// This interface provides access to Chrome OS statistics.
class CHROMEOS_EXPORT StatisticsProvider {
public:

Powered by Google App Engine
This is Rietveld 408576698