Index: chrome/browser/chromeos/system/statistics_provider.cc |
diff --git a/chrome/browser/chromeos/system/statistics_provider.cc b/chrome/browser/chromeos/system/statistics_provider.cc |
index 5f82b2abd750167bec1bfce602369be2a0e8504b..365a5a63a65fd278a009fa793a52bc4c7c1b1edd 100644 |
--- a/chrome/browser/chromeos/system/statistics_provider.cc |
+++ b/chrome/browser/chromeos/system/statistics_provider.cc |
@@ -75,6 +75,22 @@ const CommandLine::CharType kOemManifestFilePath[] = |
} // namespace |
+// Key values for GetMachineStatistic()/GetMachineFlag() calls. |
+const char kDevSwitchBootMode[] = "devsw_boot"; |
+const char kHardwareClass[] = "hardware_class"; |
+const char kMachineInfoBoard[] = |
+ "CHROMEOS_RELEASE_BOARD"; |
+const char kOffersCouponCodeKey[] = "ubind_attribute"; |
+const char kOffersGroupCodeKey[] = "gbind_attribute"; |
+const char kOemCanExitEnterpriseEnrollmentKey[] = |
+ "oem_can_exit_enrollment"; |
+const char kOemDeviceRequisitionKey[] = |
+ "oem_device_requisition"; |
+const char kOemIsEnterpriseManagedKey[] = |
+ "oem_enterprise_managed"; |
+const char kOemKeyboardDrivenOobeKey[] = |
+ "oem_keyboard_driven_oobe"; |
+ |
// The StatisticsProvider implementation used in production. |
class StatisticsProviderImpl : public StatisticsProvider { |
public: |
@@ -252,13 +268,13 @@ void StatisticsProviderImpl::LoadOemManifestFromFile( |
if (!KioskOemManifestParser::Load(file, &oem_manifest)) |
return; |
- machine_info_[chromeos::kOemDeviceRequisitionKey] = |
+ machine_info_[kOemDeviceRequisitionKey] = |
oem_manifest.device_requisition; |
- machine_flags_[chromeos::kOemIsEnterpriseManagedKey] = |
+ machine_flags_[kOemIsEnterpriseManagedKey] = |
oem_manifest.enterprise_managed; |
- machine_flags_[chromeos::kOemCanExitEnterpriseEnrollmentKey] = |
+ machine_flags_[kOemCanExitEnterpriseEnrollmentKey] = |
oem_manifest.can_exit_enrollment; |
- machine_flags_[chromeos::kOemKeyboardDrivenOobeKey] = |
+ machine_flags_[kOemKeyboardDrivenOobeKey] = |
oem_manifest.keyboard_driven_oobe; |
} |