| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 FileSystemType type) const { | 297 FileSystemType type) const { |
| 293 return NULL; | 298 return NULL; |
| 294 } | 299 } |
| 295 | 300 |
| 296 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { | 301 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { |
| 297 return static_cast<ObfuscatedFileUtil*>( | 302 return static_cast<ObfuscatedFileUtil*>( |
| 298 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); | 303 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); |
| 299 } | 304 } |
| 300 | 305 |
| 301 } // namespace fileapi | 306 } // namespace fileapi |
| OLD | NEW |