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_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 6 #define WEBKIT_BROWSER_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/browser/fileapi/file_system_mount_point_provider.h" | 9 #include "webkit/browser/fileapi/file_system_mount_point_provider.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 bool create, | 25 bool create, |
26 const ValidateFileSystemCallback& callback) OVERRIDE; | 26 const ValidateFileSystemCallback& callback) OVERRIDE; |
27 virtual base::FilePath GetFileSystemRootPathOnFileThread( | 27 virtual base::FilePath GetFileSystemRootPathOnFileThread( |
28 const FileSystemURL& url, | 28 const FileSystemURL& url, |
29 bool create) OVERRIDE; | 29 bool create) OVERRIDE; |
30 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | 30 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; |
31 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 31 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
32 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( | 32 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( |
33 FileSystemType type, | 33 FileSystemType type, |
34 base::PlatformFileError* error_code) OVERRIDE; | 34 base::PlatformFileError* error_code) OVERRIDE; |
35 virtual void InitializeCopyOrMoveFileValidatorFactory( | |
36 FileSystemType type, | |
37 scoped_ptr<CopyOrMoveFileValidatorFactory> factory) OVERRIDE; | |
38 virtual FilePermissionPolicy GetPermissionPolicy( | 35 virtual FilePermissionPolicy GetPermissionPolicy( |
39 const FileSystemURL& url, | 36 const FileSystemURL& url, |
40 int permissions) const OVERRIDE; | 37 int permissions) const OVERRIDE; |
41 virtual FileSystemOperation* CreateFileSystemOperation( | 38 virtual FileSystemOperation* CreateFileSystemOperation( |
42 const FileSystemURL& url, | 39 const FileSystemURL& url, |
43 FileSystemContext* context, | 40 FileSystemContext* context, |
44 base::PlatformFileError* error_code) const OVERRIDE; | 41 base::PlatformFileError* error_code) const OVERRIDE; |
45 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 42 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
46 const FileSystemURL& url, | 43 const FileSystemURL& url, |
47 int64 offset, | 44 int64 offset, |
(...skipping 12 matching lines...) Expand all Loading... |
60 | 57 |
61 private: | 58 private: |
62 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_; | 59 scoped_ptr<AsyncFileUtilAdapter> isolated_file_util_; |
63 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_; | 60 scoped_ptr<AsyncFileUtilAdapter> dragged_file_util_; |
64 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_; | 61 scoped_ptr<AsyncFileUtilAdapter> transient_file_util_; |
65 }; | 62 }; |
66 | 63 |
67 } // namespace fileapi | 64 } // namespace fileapi |
68 | 65 |
69 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ | 66 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ |
OLD | NEW |