| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 bool PluginPrivateFileSystemBackend::HasInplaceCopyImplementation( | 191 bool PluginPrivateFileSystemBackend::HasInplaceCopyImplementation( |
| 192 storage::FileSystemType type) const { | 192 storage::FileSystemType type) const { |
| 193 return false; | 193 return false; |
| 194 } | 194 } |
| 195 | 195 |
| 196 scoped_ptr<storage::FileStreamReader> | 196 scoped_ptr<storage::FileStreamReader> |
| 197 PluginPrivateFileSystemBackend::CreateFileStreamReader( | 197 PluginPrivateFileSystemBackend::CreateFileStreamReader( |
| 198 const FileSystemURL& url, | 198 const FileSystemURL& url, |
| 199 int64 offset, | 199 int64 offset, |
| 200 int64 length, |
| 200 const base::Time& expected_modification_time, | 201 const base::Time& expected_modification_time, |
| 201 FileSystemContext* context) const { | 202 FileSystemContext* context) const { |
| 202 return scoped_ptr<storage::FileStreamReader>(); | 203 return scoped_ptr<storage::FileStreamReader>(); |
| 203 } | 204 } |
| 204 | 205 |
| 205 scoped_ptr<FileStreamWriter> | 206 scoped_ptr<FileStreamWriter> |
| 206 PluginPrivateFileSystemBackend::CreateFileStreamWriter( | 207 PluginPrivateFileSystemBackend::CreateFileStreamWriter( |
| 207 const FileSystemURL& url, | 208 const FileSystemURL& url, |
| 208 int64 offset, | 209 int64 offset, |
| 209 FileSystemContext* context) const { | 210 FileSystemContext* context) const { |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 FileSystemType type) const { | 303 FileSystemType type) const { |
| 303 return NULL; | 304 return NULL; |
| 304 } | 305 } |
| 305 | 306 |
| 306 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { | 307 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { |
| 307 return static_cast<ObfuscatedFileUtil*>( | 308 return static_cast<ObfuscatedFileUtil*>( |
| 308 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); | 309 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); |
| 309 } | 310 } |
| 310 | 311 |
| 311 } // namespace storage | 312 } // namespace storage |
| OLD | NEW |