| 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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ |
| 7 | 7 |
| 8 // Manages isolated filesystem namespaces for media file systems. | 8 // Manages isolated filesystem namespaces for media file systems. |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "chrome/browser/media_galleries/fileapi/mtp_device_file_system_config.h
" |
| 13 #include "chrome/browser/media_galleries/scoped_mtp_device_map_entry.h" | 14 #include "chrome/browser/media_galleries/scoped_mtp_device_map_entry.h" |
| 14 #include "webkit/fileapi/media/mtp_device_file_system_config.h" | |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| 17 class FilePath; | 17 class FilePath; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace chrome { | 20 namespace chrome { |
| 21 | 21 |
| 22 class MediaFileSystemRegistry; | 22 class MediaFileSystemRegistry; |
| 23 | 23 |
| 24 class MediaFileSystemContext { | 24 class MediaFileSystemContext { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 42 // Revoke the passed |fsid|. | 42 // Revoke the passed |fsid|. |
| 43 virtual void RevokeFileSystem(const std::string& fsid) = 0; | 43 virtual void RevokeFileSystem(const std::string& fsid) = 0; |
| 44 | 44 |
| 45 // The MediaFileSystemRegistry that owns this context. | 45 // The MediaFileSystemRegistry that owns this context. |
| 46 virtual MediaFileSystemRegistry* GetMediaFileSystemRegistry() = 0; | 46 virtual MediaFileSystemRegistry* GetMediaFileSystemRegistry() = 0; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace | 49 } // namespace |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ | 51 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ |
| OLD | NEW |