Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_CPU_CPU_INFO_PROVIDER_H_ | 4 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_CPU_CPU_INFO_PROVIDER_H_ |
| 5 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_CPU_CPU_INFO_PROVIDER_H_ | 5 #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_CPU_CPU_INFO_PROVIDER_H_ |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/system_info_provider.h" | 7 #include "chrome/browser/extensions/system_info_provider.h" |
| 8 #include "chrome/common/extensions/api/experimental_system_info_cpu.h" | 8 #include "chrome/common/extensions/api/experimental_system_info_cpu.h" |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 | 11 |
| 12 typedef SystemInfoProvider<api::experimental_system_info_cpu::CpuInfo> | 12 class CpuInfoProvider |
| 13 CpuInfoProvider; | 13 : public SystemInfoProvider<api::experimental_system_info_cpu::CpuInfo> { |
| 14 public: | |
| 15 virtual ~CpuInfoProvider() {} | |
|
Mihai Parparita -not on Chrome
2012/08/24 00:57:29
Body of this class declaration is indented too muc
| |
| 16 | |
| 17 // Return the single shared instance of CpuInfoProvider. | |
| 18 static CpuInfoProvider* Get(); | |
| 19 }; | |
| 14 | 20 |
| 15 } // namespace extensions | 21 } // namespace extensions |
| 16 | 22 |
| 17 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_CPU_CPU_INFO_PROVIDER_H_ | 23 #endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_CPU_CPU_INFO_PROVIDER_H_ |
| 18 | 24 |
| OLD | NEW |