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 20 matching lines...) Expand all Loading... |
31 const GURL& origin_url, | 31 const GURL& origin_url, |
32 FileSystemType type, | 32 FileSystemType type, |
33 bool create, | 33 bool create, |
34 const ValidateFileSystemCallback& callback) OVERRIDE; | 34 const ValidateFileSystemCallback& callback) OVERRIDE; |
35 virtual FilePath GetFileSystemRootPathOnFileThread( | 35 virtual FilePath GetFileSystemRootPathOnFileThread( |
36 const FileSystemURL& url, | 36 const FileSystemURL& url, |
37 bool create) OVERRIDE; | 37 bool create) OVERRIDE; |
38 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; | 38 virtual bool IsAccessAllowed(const FileSystemURL& url) OVERRIDE; |
39 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; | 39 virtual bool IsRestrictedFileName(const FilePath& filename) const OVERRIDE; |
40 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 40 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
41 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 41 virtual FilePermissionPolicy GetPermissionPolicy( |
42 const OVERRIDE; | 42 const FileSystemURL& url, |
| 43 int permissions) const OVERRIDE; |
43 virtual FileSystemOperation* CreateFileSystemOperation( | 44 virtual FileSystemOperation* CreateFileSystemOperation( |
44 const FileSystemURL& url, | 45 const FileSystemURL& url, |
45 FileSystemContext* context, | 46 FileSystemContext* context, |
46 base::PlatformFileError* error_code) const OVERRIDE; | 47 base::PlatformFileError* error_code) const OVERRIDE; |
47 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 48 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
48 const FileSystemURL& url, | 49 const FileSystemURL& url, |
49 int64 offset, | 50 int64 offset, |
50 const base::Time& expected_modification_time, | 51 const base::Time& expected_modification_time, |
51 FileSystemContext* context) const OVERRIDE; | 52 FileSystemContext* context) const OVERRIDE; |
52 virtual FileStreamWriter* CreateFileStreamWriter( | 53 virtual FileStreamWriter* CreateFileStreamWriter( |
(...skipping 18 matching lines...) Expand all Loading... |
71 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; | 72 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; |
72 | 73 |
73 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) | 74 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) |
74 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; | 75 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; |
75 #endif | 76 #endif |
76 }; | 77 }; |
77 | 78 |
78 } // namespace fileapi | 79 } // namespace fileapi |
79 | 80 |
80 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 81 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |