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

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

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.cc
diff --git a/extensions/browser/api/system_cpu/cpu_info_provider.cc b/extensions/browser/api/system_cpu/cpu_info_provider.cc
index e2c3f611e4e12738a117807c8a3491c8ef07cd8a..59a615711b220511d4cd24aeb4c8b7d7744700b3 100644
--- a/extensions/browser/api/system_cpu/cpu_info_provider.cc
+++ b/extensions/browser/api/system_cpu/cpu_info_provider.cc
@@ -8,7 +8,7 @@
namespace extensions {
-using core_api::system_cpu::CpuInfo;
+using api::system_cpu::CpuInfo;
// Static member intialization.
base::LazyInstance<scoped_refptr<CpuInfoProvider> > CpuInfoProvider::provider_ =
@@ -35,8 +35,8 @@ bool CpuInfoProvider::QueryInfo() {
info_.processors.clear();
// Fill in the correct number of uninitialized ProcessorInfos.
for (int i = 0; i < info_.num_of_processors; ++i) {
- info_.processors.push_back(linked_ptr<core_api::system_cpu::ProcessorInfo>(
- new core_api::system_cpu::ProcessorInfo()));
+ info_.processors.push_back(linked_ptr<api::system_cpu::ProcessorInfo>(
+ new api::system_cpu::ProcessorInfo()));
}
// Initialize the ProcessorInfos, or return an empty array if that fails.
if (!QueryCpuTimePerProcessor(&info_.processors))
« no previous file with comments | « extensions/browser/api/system_cpu/cpu_info_provider.h ('k') | extensions/browser/api/system_cpu/cpu_info_provider_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698