| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO
VIDER_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO
VIDER_H_ |
| 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO
VIDER_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PRO
VIDER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" | 9 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 const base::FilePath& profile_path); | 28 const base::FilePath& profile_path); |
| 29 virtual ~MediaFileSystemMountPointProvider(); | 29 virtual ~MediaFileSystemMountPointProvider(); |
| 30 | 30 |
| 31 // FileSystemMountPointProvider implementation. | 31 // FileSystemMountPointProvider implementation. |
| 32 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; | 32 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; |
| 33 virtual void ValidateFileSystemRoot( | 33 virtual void ValidateFileSystemRoot( |
| 34 const GURL& origin_url, | 34 const GURL& origin_url, |
| 35 fileapi::FileSystemType type, | 35 fileapi::FileSystemType type, |
| 36 bool create, | 36 bool create, |
| 37 const ValidateFileSystemCallback& callback) OVERRIDE; | 37 const ValidateFileSystemCallback& callback) OVERRIDE; |
| 38 virtual base::FilePath GetFileSystemRootPathOnFileThread( | |
| 39 const fileapi::FileSystemURL& url, | |
| 40 bool create) OVERRIDE; | |
| 41 virtual fileapi::FileSystemFileUtil* GetFileUtil( | 38 virtual fileapi::FileSystemFileUtil* GetFileUtil( |
| 42 fileapi::FileSystemType type) OVERRIDE; | 39 fileapi::FileSystemType type) OVERRIDE; |
| 43 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 40 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
| 44 fileapi::FileSystemType type) OVERRIDE; | 41 fileapi::FileSystemType type) OVERRIDE; |
| 45 virtual fileapi::CopyOrMoveFileValidatorFactory* | 42 virtual fileapi::CopyOrMoveFileValidatorFactory* |
| 46 GetCopyOrMoveFileValidatorFactory( | 43 GetCopyOrMoveFileValidatorFactory( |
| 47 fileapi::FileSystemType type, | 44 fileapi::FileSystemType type, |
| 48 base::PlatformFileError* error_code) OVERRIDE; | 45 base::PlatformFileError* error_code) OVERRIDE; |
| 49 virtual void InitializeCopyOrMoveFileValidatorFactory( | 46 virtual void InitializeCopyOrMoveFileValidatorFactory( |
| 50 fileapi::FileSystemType type, | 47 fileapi::FileSystemType type, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_; | 80 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_; |
| 84 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_; | 81 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_; |
| 85 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; | 82 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; |
| 86 | 83 |
| 87 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemMountPointProvider); | 84 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemMountPointProvider); |
| 88 }; | 85 }; |
| 89 | 86 |
| 90 } // namespace chrome | 87 } // namespace chrome |
| 91 | 88 |
| 92 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_
PROVIDER_H_ | 89 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_
PROVIDER_H_ |
| OLD | NEW |