Index: extensions/browser/api/system_cpu/cpu_info_provider.cc |
diff --git a/chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc b/extensions/browser/api/system_cpu/cpu_info_provider.cc |
similarity index 89% |
rename from chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc |
rename to extensions/browser/api/system_cpu/cpu_info_provider.cc |
index b59cb0495f90fc3821f7799b0d958e8d29a1787b..4517b517185a6cdeca9a970cdea0b6f5439a9ec1 100644 |
--- a/chrome/browser/extensions/api/system_cpu/cpu_info_provider.cc |
+++ b/extensions/browser/api/system_cpu/cpu_info_provider.cc |
@@ -2,13 +2,13 @@ |
// 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 "base/sys_info.h" |
namespace extensions { |
-using api::system_cpu::CpuInfo; |
+using core_api::system_cpu::CpuInfo; |
// Static member intialization. |
base::LazyInstance<scoped_refptr<CpuInfoProvider> > |
@@ -37,8 +37,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<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())); |
} |
// Initialize the ProcessorInfos, or return an empty array if that fails. |
if (!QueryCpuTimePerProcessor(&info_.processors)) |