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 30 matching lines...) Expand all Loading... |
41 virtual void InitializeCopyOrMoveFileValidatorFactory( | 41 virtual void InitializeCopyOrMoveFileValidatorFactory( |
42 FileSystemType type, | 42 FileSystemType type, |
43 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; | 43 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; |
44 virtual FilePermissionPolicy GetPermissionPolicy( | 44 virtual FilePermissionPolicy GetPermissionPolicy( |
45 const FileSystemURL& url, | 45 const FileSystemURL& url, |
46 int permissions) const OVERRIDE; | 46 int permissions) const OVERRIDE; |
47 virtual FileSystemOperation* CreateFileSystemOperation( | 47 virtual FileSystemOperation* CreateFileSystemOperation( |
48 const FileSystemURL& url, | 48 const FileSystemURL& url, |
49 FileSystemContext* context, | 49 FileSystemContext* context, |
50 base::PlatformFileError* error_code) const OVERRIDE; | 50 base::PlatformFileError* error_code) const OVERRIDE; |
51 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 51 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
52 const FileSystemURL& url, | 52 const FileSystemURL& url, |
53 int64 offset, | 53 int64 offset, |
54 const base::Time& expected_modification_time, | 54 const base::Time& expected_modification_time, |
55 FileSystemContext* context) const OVERRIDE; | 55 FileSystemContext* context) const OVERRIDE; |
56 virtual FileStreamWriter* CreateFileStreamWriter( | 56 virtual scoped_ptr<FileStreamWriter> CreateFileStreamWriter( |
57 const FileSystemURL& url, | 57 const FileSystemURL& url, |
58 int64 offset, | 58 int64 offset, |
59 FileSystemContext* context) const OVERRIDE; | 59 FileSystemContext* context) const OVERRIDE; |
60 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 60 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
61 virtual void DeleteFileSystem( | 61 virtual void DeleteFileSystem( |
62 const GURL& origin_url, | 62 const GURL& origin_url, |
63 FileSystemType type, | 63 FileSystemType type, |
64 FileSystemContext* context, | 64 FileSystemContext* context, |
65 const DeleteFileSystemCallback& callback) OVERRIDE; | 65 const DeleteFileSystemCallback& callback) OVERRIDE; |
66 | 66 |
(...skipping 10 matching lines...) Expand all Loading... |
77 scoped_ptr<AsyncFileUtilAdapter> native_media_file_util_; | 77 scoped_ptr<AsyncFileUtilAdapter> native_media_file_util_; |
78 | 78 |
79 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) | 79 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) |
80 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_; | 80 scoped_ptr<DeviceMediaAsyncFileUtil> device_media_async_file_util_; |
81 #endif | 81 #endif |
82 }; | 82 }; |
83 | 83 |
84 } // namespace fileapi | 84 } // namespace fileapi |
85 | 85 |
86 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 86 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |