| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_H_ | 5 #ifndef COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_H_ |
| 6 #define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_H_ | 6 #define COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/observer_list_threadsafe.h" | 15 #include "base/observer_list_threadsafe.h" |
| 16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 19 #include "build/build_config.h" |
| 19 #include "components/storage_monitor/storage_info.h" | 20 #include "components/storage_monitor/storage_info.h" |
| 20 | 21 |
| 21 class MediaFileSystemRegistryTest; | 22 class MediaFileSystemRegistryTest; |
| 22 class MediaGalleriesPlatformAppBrowserTest; | 23 class MediaGalleriesPlatformAppBrowserTest; |
| 23 class SystemStorageApiTest; | 24 class SystemStorageApiTest; |
| 24 class SystemStorageEjectApiTest; | 25 class SystemStorageEjectApiTest; |
| 25 | 26 |
| 26 namespace device { | 27 namespace device { |
| 27 class MediaTransferProtocolManager; | 28 class MediaTransferProtocolManager; |
| 28 } | 29 } |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 186 |
| 186 // Map of all known storage devices,including fixed and removable storages. | 187 // Map of all known storage devices,including fixed and removable storages. |
| 187 StorageMap storage_map_; | 188 StorageMap storage_map_; |
| 188 | 189 |
| 189 scoped_ptr<TransientDeviceIds> transient_device_ids_; | 190 scoped_ptr<TransientDeviceIds> transient_device_ids_; |
| 190 }; | 191 }; |
| 191 | 192 |
| 192 } // namespace storage_monitor | 193 } // namespace storage_monitor |
| 193 | 194 |
| 194 #endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_H_ | 195 #endif // COMPONENTS_STORAGE_MONITOR_STORAGE_MONITOR_H_ |
| OLD | NEW |