| 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 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 class Profile; | 29 class Profile; |
| 30 | 30 |
| 31 namespace content { | 31 namespace content { |
| 32 class WebContents; | 32 class WebContents; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace extensions { | 35 namespace extensions { |
| 36 class Extension; | 36 class Extension; |
| 37 } | 37 } |
| 38 | 38 |
| 39 namespace storage { | |
| 40 class IsolatedContext; | |
| 41 } | |
| 42 | |
| 43 // Contains information about a particular filesystem being provided to a | 39 // Contains information about a particular filesystem being provided to a |
| 44 // client, including metadata like the name and ID, and API handles like the | 40 // client, including metadata like the name and ID, and API handles like the |
| 45 // fsid (filesystem ID) used to hook up the API objects. | 41 // fsid (filesystem ID) used to hook up the API objects. |
| 46 struct MediaFileSystemInfo { | 42 struct MediaFileSystemInfo { |
| 47 MediaFileSystemInfo(const base::string16& fs_name, | 43 MediaFileSystemInfo(const base::string16& fs_name, |
| 48 const base::FilePath& fs_path, | 44 const base::FilePath& fs_path, |
| 49 const std::string& filesystem_id, | 45 const std::string& filesystem_id, |
| 50 MediaGalleryPrefId pref_id, | 46 MediaGalleryPrefId pref_id, |
| 51 const std::string& transient_device_id, | 47 const std::string& transient_device_id, |
| 52 bool removable, | 48 bool removable, |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 ProfileSubscriptionMap profile_subscription_map_; | 140 ProfileSubscriptionMap profile_subscription_map_; |
| 145 | 141 |
| 146 std::unique_ptr<MediaFileSystemContext> file_system_context_; | 142 std::unique_ptr<MediaFileSystemContext> file_system_context_; |
| 147 | 143 |
| 148 std::unique_ptr<GalleryWatchManager> gallery_watch_manager_; | 144 std::unique_ptr<GalleryWatchManager> gallery_watch_manager_; |
| 149 | 145 |
| 150 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); | 146 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); |
| 151 }; | 147 }; |
| 152 | 148 |
| 153 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 149 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
| OLD | NEW |