OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 // fileapi::FileSystemBackend overrides. | 91 // fileapi::FileSystemBackend overrides. |
92 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; | 92 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; |
93 virtual void InitializeFileSystem( | 93 virtual void InitializeFileSystem( |
94 const GURL& origin_url, | 94 const GURL& origin_url, |
95 fileapi::FileSystemType type, | 95 fileapi::FileSystemType type, |
96 fileapi::OpenFileSystemMode mode, | 96 fileapi::OpenFileSystemMode mode, |
97 fileapi::FileSystemContext* context, | 97 fileapi::FileSystemContext* context, |
98 const InitializeFileSystemCallback& callback) OVERRIDE; | 98 const InitializeFileSystemCallback& callback) OVERRIDE; |
99 virtual fileapi::FileSystemFileUtil* GetFileUtil( | 99 virtual fileapi::FileSystemFileUtil* GetFileUtil( |
100 fileapi::FileSystemType type) OVERRIDE; | 100 fileapi::FileSystemType type, |
| 101 const fileapi::FileSystemContext* context) OVERRIDE; |
101 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 102 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
102 fileapi::FileSystemType type) OVERRIDE; | 103 fileapi::FileSystemType type, |
| 104 const fileapi::FileSystemContext* context) OVERRIDE; |
103 virtual fileapi::CopyOrMoveFileValidatorFactory* | 105 virtual fileapi::CopyOrMoveFileValidatorFactory* |
104 GetCopyOrMoveFileValidatorFactory( | 106 GetCopyOrMoveFileValidatorFactory( |
105 fileapi::FileSystemType type, | 107 fileapi::FileSystemType type, |
106 base::PlatformFileError* error_code) OVERRIDE; | 108 base::PlatformFileError* error_code) OVERRIDE; |
107 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 109 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
108 const fileapi::FileSystemURL& url, | 110 const fileapi::FileSystemURL& url, |
109 fileapi::FileSystemContext* context, | 111 fileapi::FileSystemContext* context, |
110 base::PlatformFileError* error_code) const OVERRIDE; | 112 base::PlatformFileError* error_code) const OVERRIDE; |
111 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 113 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
112 const fileapi::FileSystemURL& path, | 114 const fileapi::FileSystemURL& path, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Globally visible mount points. System MountPonts instance should outlive | 161 // Globally visible mount points. System MountPonts instance should outlive |
160 // all FileSystemBackend instances, so raw pointer is safe. | 162 // all FileSystemBackend instances, so raw pointer is safe. |
161 fileapi::ExternalMountPoints* system_mount_points_; | 163 fileapi::ExternalMountPoints* system_mount_points_; |
162 | 164 |
163 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); | 165 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); |
164 }; | 166 }; |
165 | 167 |
166 } // namespace chromeos | 168 } // namespace chromeos |
167 | 169 |
168 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 170 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |