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

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

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn build Created 6 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_linux.cc
diff --git a/chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc b/extensions/browser/api/system_cpu/cpu_info_provider_linux.cc
similarity index 90%
rename from chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc
rename to extensions/browser/api/system_cpu/cpu_info_provider_linux.cc
index 242226289a7fe0b34dae61e3abd50612dd978f26..08b0f98310fb9cf69f7bd0ba93a1e6808628ced5 100644
--- a/chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc
+++ b/extensions/browser/api/system_cpu/cpu_info_provider_linux.cc
@@ -2,7 +2,7 @@
// 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 "extensions/browser/api/system_cpu/cpu_info_provider.h"
#include <cstdio>
#include <sstream>
@@ -19,7 +19,7 @@ const char kProcStat[] = "/proc/stat";
} // namespace
bool CpuInfoProvider::QueryCpuTimePerProcessor(
- std::vector<linked_ptr<api::system_cpu::ProcessorInfo> >* infos) {
+ std::vector<linked_ptr<core_api::system_cpu::ProcessorInfo> >* infos) {
DCHECK(infos);
std::string contents;

Powered by Google App Engine
This is Rietveld 408576698