OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
11 namespace system { | 11 namespace system { |
12 | 12 |
13 // Developer switch value. | |
14 extern const char kDevSwitchBootMode[]; | |
15 | |
16 // HWID key. | |
17 extern const char kHardwareClass[]; | |
18 | |
19 // Machine board key. | |
20 extern const char kMachineInfoBoard[]; | |
21 | |
22 // OEM customization directive that specified intended device purpose. | |
23 extern const char kOemDeviceRequisitionKey[]; | |
24 | |
25 // OEM customization flag that enforces enterprise enrollment flow in OOBE. | |
26 extern const char kOemIsEnterpriseManagedKey[]; | |
27 | |
28 // OEM customization flag that permits exiting enterprise enrollment flow in | |
29 // OOBE when 'oem_enterprise_managed' flag is set. | |
30 extern const char kOemCanExitEnterpriseEnrollmentKey[]; | |
31 | |
32 // OEM customization flag that specifies if OOBE flow should be enhanced for | |
33 // keyboard driven control. | |
34 extern const char kOemKeyboardDrivenOobeKey[]; | |
35 | |
36 // Offer coupon code key. | |
37 extern const char kOffersCouponCodeKey[]; | |
38 | |
39 // Offer group key. | |
40 extern const char kOffersGroupCodeKey[]; | |
xiyuan
2013/06/18 04:59:23
nit: alpha-sort the list?
zel
2013/06/18 17:56:37
Done.
| |
41 | |
13 // This interface provides access to Chrome OS statistics. | 42 // This interface provides access to Chrome OS statistics. |
14 class StatisticsProvider { | 43 class StatisticsProvider { |
15 public: | 44 public: |
16 // Initializes the statistics provider. | 45 // Initializes the statistics provider. |
17 virtual void Init() = 0; | 46 virtual void Init() = 0; |
18 | 47 |
19 // Starts loading the machine statistcs. | 48 // Starts loading the machine statistcs. |
20 virtual void StartLoadingMachineStatistics() = 0; | 49 virtual void StartLoadingMachineStatistics() = 0; |
21 | 50 |
22 // Retrieve the named machine statistic (e.g. "hardware_class"). | 51 // Retrieve the named machine statistic (e.g. "hardware_class"). |
(...skipping 12 matching lines...) Expand all Loading... | |
35 static StatisticsProvider* GetInstance(); | 64 static StatisticsProvider* GetInstance(); |
36 | 65 |
37 protected: | 66 protected: |
38 virtual ~StatisticsProvider() {} | 67 virtual ~StatisticsProvider() {} |
39 }; | 68 }; |
40 | 69 |
41 } // namespace system | 70 } // namespace system |
42 } // namespace chromeos | 71 } // namespace chromeos |
43 | 72 |
44 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ |
OLD | NEW |