| 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 "storage/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" |
| 11 #include "base/task_runner_util.h" | 11 #include "base/task_runner_util.h" |
| 12 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" |
| 13 #include "webkit/browser/blob/file_stream_reader.h" | 13 #include "storage/browser/blob/file_stream_reader.h" |
| 14 #include "webkit/browser/fileapi/async_file_util_adapter.h" | 14 #include "storage/browser/fileapi/async_file_util_adapter.h" |
| 15 #include "webkit/browser/fileapi/file_stream_writer.h" | 15 #include "storage/browser/fileapi/file_stream_writer.h" |
| 16 #include "webkit/browser/fileapi/file_system_context.h" | 16 #include "storage/browser/fileapi/file_system_context.h" |
| 17 #include "webkit/browser/fileapi/file_system_operation.h" | 17 #include "storage/browser/fileapi/file_system_operation.h" |
| 18 #include "webkit/browser/fileapi/file_system_operation_context.h" | 18 #include "storage/browser/fileapi/file_system_operation_context.h" |
| 19 #include "webkit/browser/fileapi/file_system_options.h" | 19 #include "storage/browser/fileapi/file_system_options.h" |
| 20 #include "webkit/browser/fileapi/isolated_context.h" | 20 #include "storage/browser/fileapi/isolated_context.h" |
| 21 #include "webkit/browser/fileapi/obfuscated_file_util.h" | 21 #include "storage/browser/fileapi/obfuscated_file_util.h" |
| 22 #include "webkit/browser/fileapi/quota/quota_reservation.h" | 22 #include "storage/browser/fileapi/quota/quota_reservation.h" |
| 23 #include "webkit/common/fileapi/file_system_util.h" | 23 #include "storage/common/fileapi/file_system_util.h" |
| 24 | 24 |
| 25 namespace storage { | 25 namespace storage { |
| 26 | 26 |
| 27 class PluginPrivateFileSystemBackend::FileSystemIDToPluginMap { | 27 class PluginPrivateFileSystemBackend::FileSystemIDToPluginMap { |
| 28 public: | 28 public: |
| 29 explicit FileSystemIDToPluginMap(base::SequencedTaskRunner* task_runner) | 29 explicit FileSystemIDToPluginMap(base::SequencedTaskRunner* task_runner) |
| 30 : task_runner_(task_runner) {} | 30 : task_runner_(task_runner) {} |
| 31 ~FileSystemIDToPluginMap() {} | 31 ~FileSystemIDToPluginMap() {} |
| 32 | 32 |
| 33 std::string GetPluginIDForURL(const FileSystemURL& url) { | 33 std::string GetPluginIDForURL(const FileSystemURL& url) { |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 FileSystemType type) const { | 302 FileSystemType type) const { |
| 303 return NULL; | 303 return NULL; |
| 304 } | 304 } |
| 305 | 305 |
| 306 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { | 306 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { |
| 307 return static_cast<ObfuscatedFileUtil*>( | 307 return static_cast<ObfuscatedFileUtil*>( |
| 308 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); | 308 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); |
| 309 } | 309 } |
| 310 | 310 |
| 311 } // namespace storage | 311 } // namespace storage |
| OLD | NEW |