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

Unified Diff: chrome/browser/extensions/api/system_cpu/system_cpu_apitest.cc

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 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: chrome/browser/extensions/api/system_cpu/system_cpu_apitest.cc
diff --git a/chrome/browser/extensions/api/system_cpu/system_cpu_apitest.cc b/chrome/browser/extensions/api/system_cpu/system_cpu_apitest.cc
index 5e944f6c64a84b0432ef9433862a35b98bb514b8..cec720ad32b5135670253ddb7a89e8330535f6f9 100644
--- a/chrome/browser/extensions/api/system_cpu/system_cpu_apitest.cc
+++ b/chrome/browser/extensions/api/system_cpu/system_cpu_apitest.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/api/system_cpu/cpu_info_provider.h"
#include "chrome/browser/extensions/extension_apitest.h"
+#include "extensions/browser/api/system_cpu/cpu_info_provider.h"
namespace extensions {
-using api::system_cpu::CpuInfo;
+using core_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<api::system_cpu::ProcessorInfo>(
- new api::system_cpu::ProcessorInfo()));
+ info_.processors.push_back(linked_ptr<core_api::system_cpu::ProcessorInfo>(
+ new core_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 | « chrome/browser/extensions/api/system_cpu/system_cpu_api.cc ('k') | chrome/browser/extensions/api/system_display/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698