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

Side by Side Diff: chrome/browser/chromeos/system/statistics_provider.h

Issue 23588009: Parse /etc/lsb-release only once on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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. 13 // Developer switch value.
14 extern const char kDevSwitchBootMode[]; 14 extern const char kDevSwitchBootMode[];
15 15
16 // HWID key. 16 // HWID key.
17 extern const char kHardwareClass[]; 17 extern const char kHardwareClass[];
18 18
19 // Machine board key.
20 extern const char kMachineInfoBoard[];
21
22 // OEM customization flag that permits exiting enterprise enrollment flow in 19 // OEM customization flag that permits exiting enterprise enrollment flow in
23 // OOBE when 'oem_enterprise_managed' flag is set. 20 // OOBE when 'oem_enterprise_managed' flag is set.
24 extern const char kOemCanExitEnterpriseEnrollmentKey[]; 21 extern const char kOemCanExitEnterpriseEnrollmentKey[];
25 22
26 // OEM customization directive that specified intended device purpose. 23 // OEM customization directive that specified intended device purpose.
27 extern const char kOemDeviceRequisitionKey[]; 24 extern const char kOemDeviceRequisitionKey[];
28 25
29 // OEM customization flag that enforces enterprise enrollment flow in OOBE. 26 // OEM customization flag that enforces enterprise enrollment flow in OOBE.
30 extern const char kOemIsEnterpriseManagedKey[]; 27 extern const char kOemIsEnterpriseManagedKey[];
31 28
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 static StatisticsProvider* GetInstance(); 61 static StatisticsProvider* GetInstance();
65 62
66 protected: 63 protected:
67 virtual ~StatisticsProvider() {} 64 virtual ~StatisticsProvider() {}
68 }; 65 };
69 66
70 } // namespace system 67 } // namespace system
71 } // namespace chromeos 68 } // namespace chromeos
72 69
73 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_ 70 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_STATISTICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/external_metrics.cc ('k') | chrome/browser/chromeos/system/statistics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698