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 RenderViewHost; | 32 class RenderViewHost; |
33 } | 33 } |
34 | 34 |
35 namespace extensions { | 35 namespace extensions { |
36 class Extension; | 36 class Extension; |
37 } | 37 } |
38 | 38 |
39 namespace fileapi { | 39 namespace storage { |
40 class IsolatedContext; | 40 class IsolatedContext; |
41 } | 41 } |
42 | 42 |
43 // Contains information about a particular filesystem being provided to a | 43 // Contains information about a particular filesystem being provided to a |
44 // client, including metadata like the name and ID, and API handles like the | 44 // client, including metadata like the name and ID, and API handles like the |
45 // fsid (filesystem ID) used to hook up the API objects. | 45 // fsid (filesystem ID) used to hook up the API objects. |
46 struct MediaFileSystemInfo { | 46 struct MediaFileSystemInfo { |
47 MediaFileSystemInfo(const base::string16& fs_name, | 47 MediaFileSystemInfo(const base::string16& fs_name, |
48 const base::FilePath& fs_path, | 48 const base::FilePath& fs_path, |
49 const std::string& filesystem_id, | 49 const std::string& filesystem_id, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 scoped_ptr<MediaFileSystemContext> file_system_context_; | 136 scoped_ptr<MediaFileSystemContext> file_system_context_; |
137 | 137 |
138 scoped_ptr<MediaScanManager> media_scan_manager_; | 138 scoped_ptr<MediaScanManager> media_scan_manager_; |
139 scoped_ptr<GalleryWatchManager> gallery_watch_manager_; | 139 scoped_ptr<GalleryWatchManager> gallery_watch_manager_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); | 141 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); |
142 }; | 142 }; |
143 | 143 |
144 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 144 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
OLD | NEW |