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

Unified Diff: chrome/browser/extensions/api/system_info_storage/storage_info_provider.h

Issue 18578008: [SystemInfo API] Move Storage API out of experimental namespace and rename to the "system" namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 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: chrome/browser/extensions/api/system_info_storage/storage_info_provider.h
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider.h b/chrome/browser/extensions/api/system_info_storage/storage_info_provider.h
index a6138ddbebcf83ef14424bbd0d3444078e05db26..fa023c8e278ed2d6ef4c12f1e7e1287a426b09d4 100644
--- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider.h
+++ b/chrome/browser/extensions/api/system_info_storage/storage_info_provider.h
@@ -14,6 +14,7 @@
#include "chrome/browser/storage_monitor/removable_storage_observer.h"
#include "chrome/browser/storage_monitor/storage_info.h"
#include "chrome/common/extensions/api/experimental_system_info_storage.h"
+#include "chrome/common/extensions/api/system_info_storage.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -28,12 +29,12 @@ extern const char kStorageTypeRemovable[];
// Build StorageUnitInfo struct from chrome::StorageInfo instance. The |unit|
// parameter is the output value.
void BuildStorageUnitInfo(const chrome::StorageInfo& info,
- api::experimental_system_info_storage::StorageUnitInfo* unit);
+ api::system_info_storage::StorageUnitInfo* unit);
} // namespace systeminfo
typedef std::vector<linked_ptr<
- api::experimental_system_info_storage::StorageUnitInfo> >
+ api::system_info_storage::StorageUnitInfo> >
StorageUnitInfoList;
class StorageInfoProvider : public SystemInfoProvider<StorageUnitInfoList> {
@@ -90,6 +91,7 @@ class StorageInfoProvider : public SystemInfoProvider<StorageUnitInfoList> {
// Override to query the available capacity of all known storage devices on
// the blocking pool, including fixed and removable devices.
virtual bool QueryInfo() OVERRIDE;
+
// Query the new attached removable storage info on the blocking pool.
void QueryAttachedStorageInfoOnBlockingPool(const std::string& transient_id);

Powered by Google App Engine
This is Rietveld 408576698