| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // MediaFileSystemRegistry registers pictures directories and media devices as | 5 // MediaFileSystemRegistry registers pictures directories and media devices as |
| 6 // File API filesystems and keeps track of the path to filesystem ID mappings. | 6 // File API filesystems and keeps track of the path to filesystem ID mappings. |
| 7 | 7 |
| 8 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 8 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
| 9 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 9 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
| 10 | 10 |
| 11 #include <map> | 11 #include <map> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <utility> | 13 #include <utility> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | |
| 17 #include "base/files/file.h" | 16 #include "base/files/file.h" |
| 18 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
| 18 #include "base/macros.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
| 21 #include "chrome/browser/media_galleries/media_galleries_preferences.h" | 21 #include "chrome/browser/media_galleries/media_galleries_preferences.h" |
| 22 #include "components/keyed_service/core/keyed_service_shutdown_notifier.h" | 22 #include "components/keyed_service/core/keyed_service_shutdown_notifier.h" |
| 23 #include "components/storage_monitor/removable_storage_observer.h" | 23 #include "components/storage_monitor/removable_storage_observer.h" |
| 24 | 24 |
| 25 class ExtensionGalleriesHost; | 25 class ExtensionGalleriesHost; |
| 26 class GalleryWatchManager; | 26 class GalleryWatchManager; |
| 27 class MediaFileSystemContext; | 27 class MediaFileSystemContext; |
| 28 class MediaGalleriesPreferences; | 28 class MediaGalleriesPreferences; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 146 |
| 147 scoped_ptr<MediaFileSystemContext> file_system_context_; | 147 scoped_ptr<MediaFileSystemContext> file_system_context_; |
| 148 | 148 |
| 149 scoped_ptr<MediaScanManager> media_scan_manager_; | 149 scoped_ptr<MediaScanManager> media_scan_manager_; |
| 150 scoped_ptr<GalleryWatchManager> gallery_watch_manager_; | 150 scoped_ptr<GalleryWatchManager> gallery_watch_manager_; |
| 151 | 151 |
| 152 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); | 152 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 155 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
| OLD | NEW |