Chromium Code Reviews| Index: chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h |
| diff --git a/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h b/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h |
| index 39d5ff4b047db7aa043be0678478ee102888cfcc..1e5895d72c1b8f84284844eff9e3d906538fe754 100644 |
| --- a/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h |
| +++ b/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h |
| @@ -5,9 +5,14 @@ |
| #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
| #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_ |
| +#include "base/memory/ref_counted.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "webkit/browser/fileapi/file_system_mount_point_provider.h" |
| +namespace base { |
| +class SequencedTaskRunner; |
| +} |
| + |
| namespace fileapi { |
| class AsyncFileUtilAdapter; |
| } |
| @@ -21,11 +26,13 @@ class DeviceMediaAsyncFileUtil; |
| class MediaFileSystemMountPointProvider |
| : public fileapi::FileSystemMountPointProvider { |
| public: |
| + static const char kMediaTaskRunnerName[]; |
| static const char kMediaPathFilterKey[]; |
| static const char kMTPDeviceDelegateURLKey[]; |
| explicit MediaFileSystemMountPointProvider( |
|
Lei Zhang
2013/06/06 22:31:12
no longer explicit
kinuko
2013/06/07 07:19:24
Done.
|
| - const base::FilePath& profile_path); |
| + const base::FilePath& profile_path, |
| + base::SequencedTaskRunner* media_task_runner); |
| virtual ~MediaFileSystemMountPointProvider(); |
| // FileSystemMountPointProvider implementation. |
| @@ -69,6 +76,8 @@ class MediaFileSystemMountPointProvider |
| // Store the profile path. We need this to create temporary snapshot files. |
| const base::FilePath profile_path_; |
| + scoped_refptr<base::SequencedTaskRunner> media_task_runner_; |
| + |
| scoped_ptr<MediaPathFilter> media_path_filter_; |
| scoped_ptr<fileapi::CopyOrMoveFileValidatorFactory> |
| media_copy_or_move_file_validator_factory_; |