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

Unified Diff: extensions/browser/api/system_storage/storage_info_provider.h

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better comments 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_storage/storage_info_provider.h
diff --git a/chrome/browser/extensions/api/system_storage/storage_info_provider.h b/extensions/browser/api/system_storage/storage_info_provider.h
similarity index 82%
rename from chrome/browser/extensions/api/system_storage/storage_info_provider.h
rename to extensions/browser/api/system_storage/storage_info_provider.h
index b32554d48b3dd258aa1d8d284e20ee6d51a4d618..0aa6ec0ecd3c60db560c2916890488c069d28296 100644
--- a/chrome/browser/extensions/api/system_storage/storage_info_provider.h
+++ b/extensions/browser/api/system_storage/storage_info_provider.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
-#define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
+#ifndef EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
+#define EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
#include <set>
@@ -11,8 +11,8 @@
#include "base/memory/ref_counted.h"
#include "base/observer_list_threadsafe.h"
#include "base/timer/timer.h"
-#include "chrome/browser/extensions/api/system_info/system_info_provider.h"
-#include "chrome/common/extensions/api/system_storage.h"
+#include "extensions/browser/api/system_info/system_info_provider.h"
+#include "extensions/common/api/system_storage.h"
namespace storage_monitor {
class StorageInfo;
@@ -25,12 +25,12 @@ namespace systeminfo {
// Build StorageUnitInfo struct from StorageInfo instance. The |unit|
// parameter is the output value.
void BuildStorageUnitInfo(const storage_monitor::StorageInfo& info,
- api::system_storage::StorageUnitInfo* unit);
+ core_api::system_storage::StorageUnitInfo* unit);
} // namespace systeminfo
typedef std::vector<linked_ptr<
- api::system_storage::StorageUnitInfo> >
+ core_api::system_storage::StorageUnitInfo> >
StorageUnitInfoList;
class StorageInfoProvider : public SystemInfoProvider {
@@ -83,4 +83,4 @@ class StorageInfoProvider : public SystemInfoProvider {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_
+#endif // EXTENSIONS_BROWSER_API_SYSTEM_STORAGE_STORAGE_INFO_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698