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 #include "webkit/browser/fileapi/plugin_private_file_system_backend.h" | 5 #include "webkit/browser/fileapi/plugin_private_file_system_backend.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 FROM_HERE, | 153 FROM_HERE, |
154 base::Bind(callback, GURL(), std::string(), | 154 base::Bind(callback, GURL(), std::string(), |
155 base::File::FILE_ERROR_SECURITY)); | 155 base::File::FILE_ERROR_SECURITY)); |
156 } | 156 } |
157 | 157 |
158 AsyncFileUtil* | 158 AsyncFileUtil* |
159 PluginPrivateFileSystemBackend::GetAsyncFileUtil(FileSystemType type) { | 159 PluginPrivateFileSystemBackend::GetAsyncFileUtil(FileSystemType type) { |
160 return file_util_.get(); | 160 return file_util_.get(); |
161 } | 161 } |
162 | 162 |
| 163 WatcherManager* PluginPrivateFileSystemBackend::GetWatcherManager( |
| 164 FileSystemType type) { |
| 165 return NULL; |
| 166 } |
| 167 |
163 CopyOrMoveFileValidatorFactory* | 168 CopyOrMoveFileValidatorFactory* |
164 PluginPrivateFileSystemBackend::GetCopyOrMoveFileValidatorFactory( | 169 PluginPrivateFileSystemBackend::GetCopyOrMoveFileValidatorFactory( |
165 FileSystemType type, | 170 FileSystemType type, |
166 base::File::Error* error_code) { | 171 base::File::Error* error_code) { |
167 DCHECK(error_code); | 172 DCHECK(error_code); |
168 *error_code = base::File::FILE_OK; | 173 *error_code = base::File::FILE_OK; |
169 return NULL; | 174 return NULL; |
170 } | 175 } |
171 | 176 |
172 FileSystemOperation* PluginPrivateFileSystemBackend::CreateFileSystemOperation( | 177 FileSystemOperation* PluginPrivateFileSystemBackend::CreateFileSystemOperation( |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 FileSystemType type) const { | 302 FileSystemType type) const { |
298 return NULL; | 303 return NULL; |
299 } | 304 } |
300 | 305 |
301 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { | 306 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { |
302 return static_cast<ObfuscatedFileUtil*>( | 307 return static_cast<ObfuscatedFileUtil*>( |
303 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); | 308 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); |
304 } | 309 } |
305 | 310 |
306 } // namespace storage | 311 } // namespace storage |
OLD | NEW |