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

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: 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 cfa73970961acd7a87c1fdcefed95ce7a872b560..8ad8922426133c1136b31cc7861244a1844acb21 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
@@ -13,7 +13,7 @@
#include "chrome/browser/extensions/api/system_info_storage/storage_free_space_observer.h"
#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 +28,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> > StorageInfo;
+ api::system_info_storage::StorageUnitInfo> > StorageInfo;
class StorageInfoProvider : public SystemInfoProvider<StorageInfo> {
public:
@@ -75,9 +75,6 @@ class StorageInfoProvider : public SystemInfoProvider<StorageInfo> {
private:
typedef std::map<std::string, double> StorageTransientIdToSizeMap;
- // Query the available capacity of all known storage devices on the blocking
- // pool, including fixed and removable.
- void QueryAvailableCapacityOnBlockingPool();
// Query the new attached removable storage info on the blocking pool.
void QueryAttachedStorageInfoOnBlockingPool(const std::string& transient_id);
// Run the QueryInfo() implementation after the StorageMonitor has been

Powered by Google App Engine
This is Rietveld 408576698