| 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 WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "webkit/fileapi/file_system_mount_point_provider.h" | 9 #include "webkit/fileapi/file_system_mount_point_provider.h" |
| 10 #include "webkit/fileapi/media/mtp_device_file_system_config.h" | 10 #include "webkit/fileapi/media/mtp_device_file_system_config.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 // FileSystemMountPointProvider implementation. | 23 // FileSystemMountPointProvider implementation. |
| 24 virtual void ValidateFileSystemRoot( | 24 virtual void ValidateFileSystemRoot( |
| 25 const GURL& origin_url, | 25 const GURL& origin_url, |
| 26 FileSystemType type, | 26 FileSystemType type, |
| 27 bool create, | 27 bool create, |
| 28 const ValidateFileSystemCallback& callback) OVERRIDE; | 28 const ValidateFileSystemCallback& callback) OVERRIDE; |
| 29 virtual base::FilePath GetFileSystemRootPathOnFileThread( | 29 virtual base::FilePath GetFileSystemRootPathOnFileThread( |
| 30 const FileSystemURL& url, | 30 const FileSystemURL& url, |
| 31 bool create) OVERRIDE; | 31 bool create) OVERRIDE; |
| 32 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; | |
| 33 virtual bool IsRestrictedFileName(const base::FilePath& filename) const OVERRI
DE; | |
| 34 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 32 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
| 35 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 33 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
| 36 virtual FilePermissionPolicy GetPermissionPolicy( | 34 virtual FilePermissionPolicy GetPermissionPolicy( |
| 37 const FileSystemURL& url, | 35 const FileSystemURL& url, |
| 38 int permissions) const OVERRIDE; | 36 int permissions) const OVERRIDE; |
| 39 virtual FileSystemOperation* CreateFileSystemOperation( | 37 virtual FileSystemOperation* CreateFileSystemOperation( |
| 40 const FileSystemURL& url, | 38 const FileSystemURL& url, |
| 41 FileSystemContext* context, | 39 FileSystemContext* context, |
| 42 base::PlatformFileError* error_code) const OVERRIDE; | 40 base::PlatformFileError* error_code) const OVERRIDE; |
| 43 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 41 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
| (...skipping 23 matching lines...) Expand all Loading... |
| 67 scoped_ptr<AsyncFileUtilAdapter> native_media_file_util_; | 65 scoped_ptr<AsyncFileUtilAdapter> native_media_file_util_; |
| 68 | 66 |
| 69 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) | 67 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) |
| 70 scoped_ptr<AsyncFileUtilAdapter> device_media_file_util_; | 68 scoped_ptr<AsyncFileUtilAdapter> device_media_file_util_; |
| 71 #endif | 69 #endif |
| 72 }; | 70 }; |
| 73 | 71 |
| 74 } // namespace fileapi | 72 } // namespace fileapi |
| 75 | 73 |
| 76 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 74 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
| OLD | NEW |