| 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/pref_change_registrar.h" | 19 #include "base/prefs/pref_change_registrar.h" |
| 20 #include "chrome/browser/media_galleries/fileapi/mtp_device_file_system_config.h
" |
| 20 #include "chrome/browser/media_galleries/media_galleries_preferences.h" | 21 #include "chrome/browser/media_galleries/media_galleries_preferences.h" |
| 21 #include "chrome/browser/storage_monitor/removable_storage_observer.h" | 22 #include "chrome/browser/storage_monitor/removable_storage_observer.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 |
| 30 namespace content { | 30 namespace content { |
| 31 class RenderViewHost; | 31 class RenderViewHost; |
| 32 } | 32 } |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 scoped_ptr<MediaFileSystemContext> file_system_context_; | 146 scoped_ptr<MediaFileSystemContext> file_system_context_; |
| 147 | 147 |
| 148 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); | 148 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemRegistry); |
| 149 }; | 149 }; |
| 150 | 150 |
| 151 } // namespace chrome | 151 } // namespace chrome |
| 152 | 152 |
| 153 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ | 153 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_REGISTRY_H_ |
| OLD | NEW |