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_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 virtual ~SandboxFileSystemBackend(); | 33 virtual ~SandboxFileSystemBackend(); |
34 | 34 |
35 // FileSystemBackend overrides. | 35 // FileSystemBackend overrides. |
36 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; | 36 virtual bool CanHandleType(FileSystemType type) const OVERRIDE; |
37 virtual void Initialize(FileSystemContext* context) OVERRIDE; | 37 virtual void Initialize(FileSystemContext* context) OVERRIDE; |
38 virtual void OpenFileSystem( | 38 virtual void OpenFileSystem( |
39 const GURL& origin_url, | 39 const GURL& origin_url, |
40 FileSystemType type, | 40 FileSystemType type, |
41 OpenFileSystemMode mode, | 41 OpenFileSystemMode mode, |
42 const OpenFileSystemCallback& callback) OVERRIDE; | 42 const OpenFileSystemCallback& callback) OVERRIDE; |
43 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; | |
44 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; | 43 virtual AsyncFileUtil* GetAsyncFileUtil(FileSystemType type) OVERRIDE; |
45 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( | 44 virtual CopyOrMoveFileValidatorFactory* GetCopyOrMoveFileValidatorFactory( |
46 FileSystemType type, | 45 FileSystemType type, |
47 base::PlatformFileError* error_code) OVERRIDE; | 46 base::PlatformFileError* error_code) OVERRIDE; |
48 virtual FileSystemOperation* CreateFileSystemOperation( | 47 virtual FileSystemOperation* CreateFileSystemOperation( |
49 const FileSystemURL& url, | 48 const FileSystemURL& url, |
50 FileSystemContext* context, | 49 FileSystemContext* context, |
51 base::PlatformFileError* error_code) const OVERRIDE; | 50 base::PlatformFileError* error_code) const OVERRIDE; |
52 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 51 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
53 const FileSystemURL& url, | 52 const FileSystemURL& url, |
(...skipping 18 matching lines...) Expand all Loading... |
72 SandboxFileSystemBackendDelegate* delegate_; // Not owned. | 71 SandboxFileSystemBackendDelegate* delegate_; // Not owned. |
73 | 72 |
74 bool enable_temporary_file_system_in_incognito_; | 73 bool enable_temporary_file_system_in_incognito_; |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); | 75 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackend); |
77 }; | 76 }; |
78 | 77 |
79 } // namespace fileapi | 78 } // namespace fileapi |
80 | 79 |
81 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ | 80 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |