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

Unified Diff: extensions/browser/api/system_cpu/cpu_info_provider.h

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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: extensions/browser/api/system_cpu/cpu_info_provider.h
diff --git a/extensions/browser/api/system_cpu/cpu_info_provider.h b/extensions/browser/api/system_cpu/cpu_info_provider.h
index e0544b74207b6d8b67e6fc2f1c9a1c38b95a3670..3712a1b3d330f0163c2fc6c1faf98f72428885f6 100644
--- a/extensions/browser/api/system_cpu/cpu_info_provider.h
+++ b/extensions/browser/api/system_cpu/cpu_info_provider.h
@@ -19,7 +19,7 @@ class CpuInfoProvider : public SystemInfoProvider {
// Return the single shared instance of CpuInfoProvider.
static CpuInfoProvider* Get();
- const core_api::system_cpu::CpuInfo& cpu_info() const { return info_; }
+ const api::system_cpu::CpuInfo& cpu_info() const { return info_; }
static void InitializeForTesting(scoped_refptr<CpuInfoProvider> provider);
@@ -32,7 +32,7 @@ class CpuInfoProvider : public SystemInfoProvider {
// Platform specific implementation for querying the CPU time information
// for each processor.
virtual bool QueryCpuTimePerProcessor(
- std::vector<linked_ptr<core_api::system_cpu::ProcessorInfo> >* infos);
+ std::vector<linked_ptr<api::system_cpu::ProcessorInfo>>* infos);
// Overriden from SystemInfoProvider.
bool QueryInfo() override;
@@ -47,7 +47,7 @@ class CpuInfoProvider : public SystemInfoProvider {
// |info_| is accessed on the UI thread while |is_waiting_for_completion_| is
// false and on the sequenced worker pool while |is_waiting_for_completion_|
// is true.
- core_api::system_cpu::CpuInfo info_;
+ api::system_cpu::CpuInfo info_;
static base::LazyInstance<scoped_refptr<CpuInfoProvider> > provider_;
base::CPU cpu_;
« no previous file with comments | « extensions/browser/api/storage/storage_frontend.cc ('k') | extensions/browser/api/system_cpu/cpu_info_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698