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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 virtual void OpenFileSystem( | 93 virtual void OpenFileSystem( |
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 const OpenFileSystemCallback& callback) OVERRIDE; | 97 const OpenFileSystemCallback& callback) OVERRIDE; |
98 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 98 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
99 fileapi::FileSystemType type) OVERRIDE; | 99 fileapi::FileSystemType type) OVERRIDE; |
100 virtual fileapi::CopyOrMoveFileValidatorFactory* | 100 virtual fileapi::CopyOrMoveFileValidatorFactory* |
101 GetCopyOrMoveFileValidatorFactory( | 101 GetCopyOrMoveFileValidatorFactory( |
102 fileapi::FileSystemType type, | 102 fileapi::FileSystemType type, |
103 base::PlatformFileError* error_code) OVERRIDE; | 103 base::File::Error* error_code) OVERRIDE; |
104 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 104 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
105 const fileapi::FileSystemURL& url, | 105 const fileapi::FileSystemURL& url, |
106 fileapi::FileSystemContext* context, | 106 fileapi::FileSystemContext* context, |
107 base::PlatformFileError* error_code) const OVERRIDE; | 107 base::File::Error* error_code) const OVERRIDE; |
108 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 108 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
109 const fileapi::FileSystemURL& path, | 109 const fileapi::FileSystemURL& path, |
110 int64 offset, | 110 int64 offset, |
111 const base::Time& expected_modification_time, | 111 const base::Time& expected_modification_time, |
112 fileapi::FileSystemContext* context) const OVERRIDE; | 112 fileapi::FileSystemContext* context) const OVERRIDE; |
113 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( | 113 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( |
114 const fileapi::FileSystemURL& url, | 114 const fileapi::FileSystemURL& url, |
115 int64 offset, | 115 int64 offset, |
116 fileapi::FileSystemContext* context) const OVERRIDE; | 116 fileapi::FileSystemContext* context) const OVERRIDE; |
117 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 117 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 // Globally visible mount points. System MountPonts instance should outlive | 154 // Globally visible mount points. System MountPonts instance should outlive |
155 // all FileSystemBackend instances, so raw pointer is safe. | 155 // all FileSystemBackend instances, so raw pointer is safe. |
156 fileapi::ExternalMountPoints* system_mount_points_; | 156 fileapi::ExternalMountPoints* system_mount_points_; |
157 | 157 |
158 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); | 158 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); |
159 }; | 159 }; |
160 | 160 |
161 } // namespace chromeos | 161 } // namespace chromeos |
162 | 162 |
163 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 163 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |