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" | 16 #include "base/basictypes.h" |
17 #include "base/files/file_path.h" | 17 #include "base/files/file_path.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/prefs/public/pref_change_registrar.h" | 19 #include "base/prefs/pref_change_registrar.h" |
20 #include "chrome/browser/media_galleries/media_galleries_preferences.h" | 20 #include "chrome/browser/media_galleries/media_galleries_preferences.h" |
21 #include "chrome/browser/storage_monitor/removable_storage_observer.h" | 21 #include "chrome/browser/storage_monitor/removable_storage_observer.h" |
22 #include "webkit/fileapi/media/mtp_device_file_system_config.h" | 22 #include "webkit/fileapi/media/mtp_device_file_system_config.h" |
23 | 23 |
24 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) | 24 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) |
25 #include "chrome/browser/media_galleries/mtp_device_delegate_impl.h" | 25 #include "chrome/browser/media_galleries/mtp_device_delegate_impl.h" |
26 #endif | 26 #endif |
27 | 27 |
28 class Profile; | 28 class Profile; |
29 | 29 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 #endif | 149 #endif |
150 | 150 |
151 scoped_ptr<MediaFileSystemContext> file_system_context_; | 151 scoped_ptr<MediaFileSystemContext> file_system_context_; |
152 | 152 |
153 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); | 153 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); |
154 }; | 154 }; |
155 | 155 |
156 } // namespace chrome | 156 } // namespace chrome |
157 | 157 |
158 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 158 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
OLD | NEW |