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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 static bool CanHandleURL(const fileapi::FileSystemURL& url); | 89 static bool CanHandleURL(const fileapi::FileSystemURL& url); |
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 Initialize(fileapi::FileSystemContext* context) OVERRIDE; | 93 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; |
94 virtual void OpenFileSystem( | 94 virtual void OpenFileSystem( |
95 const GURL& origin_url, | 95 const GURL& origin_url, |
96 fileapi::FileSystemType type, | 96 fileapi::FileSystemType type, |
97 fileapi::OpenFileSystemMode mode, | 97 fileapi::OpenFileSystemMode mode, |
98 const OpenFileSystemCallback& callback) OVERRIDE; | 98 const OpenFileSystemCallback& callback) OVERRIDE; |
99 virtual fileapi::FileSystemFileUtil* GetFileUtil( | |
100 fileapi::FileSystemType type) OVERRIDE; | |
101 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 99 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
102 fileapi::FileSystemType type) OVERRIDE; | 100 fileapi::FileSystemType type) OVERRIDE; |
103 virtual fileapi::CopyOrMoveFileValidatorFactory* | 101 virtual fileapi::CopyOrMoveFileValidatorFactory* |
104 GetCopyOrMoveFileValidatorFactory( | 102 GetCopyOrMoveFileValidatorFactory( |
105 fileapi::FileSystemType type, | 103 fileapi::FileSystemType type, |
106 base::PlatformFileError* error_code) OVERRIDE; | 104 base::PlatformFileError* error_code) OVERRIDE; |
107 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 105 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
108 const fileapi::FileSystemURL& url, | 106 const fileapi::FileSystemURL& url, |
109 fileapi::FileSystemContext* context, | 107 fileapi::FileSystemContext* context, |
110 base::PlatformFileError* error_code) const OVERRIDE; | 108 base::PlatformFileError* error_code) const OVERRIDE; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Globally visible mount points. System MountPonts instance should outlive | 157 // Globally visible mount points. System MountPonts instance should outlive |
160 // all FileSystemBackend instances, so raw pointer is safe. | 158 // all FileSystemBackend instances, so raw pointer is safe. |
161 fileapi::ExternalMountPoints* system_mount_points_; | 159 fileapi::ExternalMountPoints* system_mount_points_; |
162 | 160 |
163 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); | 161 DISALLOW_COPY_AND_ASSIGN(FileSystemBackend); |
164 }; | 162 }; |
165 | 163 |
166 } // namespace chromeos | 164 } // namespace chromeos |
167 | 165 |
168 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ | 166 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |