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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 45 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
46 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) | 46 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) |
47 const OVERRIDE; | 47 const OVERRIDE; |
48 virtual FileSystemOperation* CreateFileSystemOperation( | 48 virtual FileSystemOperation* CreateFileSystemOperation( |
49 const FileSystemURL& url, | 49 const FileSystemURL& url, |
50 FileSystemContext* context, | 50 FileSystemContext* context, |
51 base::PlatformFileError* error_code) const OVERRIDE; | 51 base::PlatformFileError* error_code) const OVERRIDE; |
52 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( | 52 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( |
53 const FileSystemURL& url, | 53 const FileSystemURL& url, |
54 int64 offset, | 54 int64 offset, |
| 55 const base::Time& expected_modification_time, |
55 FileSystemContext* context) const OVERRIDE; | 56 FileSystemContext* context) const OVERRIDE; |
56 virtual FileStreamWriter* CreateFileStreamWriter( | 57 virtual FileStreamWriter* CreateFileStreamWriter( |
57 const FileSystemURL& url, | 58 const FileSystemURL& url, |
58 int64 offset, | 59 int64 offset, |
59 FileSystemContext* context) const OVERRIDE; | 60 FileSystemContext* context) const OVERRIDE; |
60 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 61 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
61 virtual void DeleteFileSystem( | 62 virtual void DeleteFileSystem( |
62 const GURL& origin_url, | 63 const GURL& origin_url, |
63 FileSystemType type, | 64 FileSystemType type, |
64 FileSystemContext* context, | 65 FileSystemContext* context, |
(...skipping 10 matching lines...) Expand all Loading... |
75 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; | 76 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; |
76 | 77 |
77 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) | 78 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) |
78 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; | 79 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; |
79 #endif | 80 #endif |
80 }; | 81 }; |
81 | 82 |
82 } // namespace fileapi | 83 } // namespace fileapi |
83 | 84 |
84 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 85 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |