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

Unified Diff: extensions/browser/api/system_cpu/system_cpu_apitest.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/system_cpu_apitest.cc
diff --git a/extensions/browser/api/system_cpu/system_cpu_apitest.cc b/extensions/browser/api/system_cpu/system_cpu_apitest.cc
index 12ce8878aad63aeab5bb9c4147e83d48fd548764..1633d2c00e8f11e528d00f0b73b6bf88548cca1b 100644
--- a/extensions/browser/api/system_cpu/system_cpu_apitest.cc
+++ b/extensions/browser/api/system_cpu/system_cpu_apitest.cc
@@ -7,7 +7,7 @@
namespace extensions {
-using core_api::system_cpu::CpuInfo;
+using api::system_cpu::CpuInfo;
class MockCpuInfoProviderImpl : public CpuInfoProvider {
public:
@@ -23,8 +23,8 @@ class MockCpuInfoProviderImpl : public CpuInfoProvider {
info_.features.push_back("avx");
info_.processors.clear();
- 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()));
info_.processors[0]->usage.kernel = 1;
info_.processors[0]->usage.user = 2;
info_.processors[0]->usage.idle = 3;
« no previous file with comments | « extensions/browser/api/system_cpu/system_cpu_api.cc ('k') | extensions/browser/api/system_display/display_info_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698