Chromium Code Reviews| Index: chrome/browser/storage_monitor/storage_monitor.cc |
| diff --git a/chrome/browser/storage_monitor/storage_monitor.cc b/chrome/browser/storage_monitor/storage_monitor.cc |
| index 682264223c40b147f4446a65e51ef9b9b042da53..1db2ef50f81b0eae4c1a7f533037133bac1ffa40 100644 |
| --- a/chrome/browser/storage_monitor/storage_monitor.cc |
| +++ b/chrome/browser/storage_monitor/storage_monitor.cc |
| @@ -49,7 +49,7 @@ StorageMonitor* StorageMonitor::GetInstance() { |
| return g_storage_monitor; |
| } |
| -std::vector<StorageInfo> StorageMonitor::GetAttachedStorage() const { |
| +std::vector<StorageInfo> StorageMonitor::GetAttachedRemovableStorages() const { |
| std::vector<StorageInfo> results; |
| base::AutoLock lock(storage_lock_); |
| @@ -61,6 +61,11 @@ std::vector<StorageInfo> StorageMonitor::GetAttachedStorage() const { |
| return results; |
| } |
| +std::vector<StorageInfo> StorageMonitor::GetAllAvailableStorages() const { |
| + // Returns empty vector as default implemenation. |
|
Lei Zhang
2013/05/29 10:03:32
typo, add NOTIMPLEMENTED()
|
| + return std::vector<StorageInfo>(); |
| +} |
| + |
| void StorageMonitor::Initialize(base::Closure callback) { |
| if (initialized_) { |
| if (!callback.is_null()) |