Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: storage/browser/fileapi/plugin_private_file_system_backend.cc

Issue 1139323003: Discard duplicate includes of files from storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "storage/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 "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
13 #include "net/base/net_util.h" 13 #include "net/base/net_util.h"
14 #include "storage/browser/fileapi/async_file_util_adapter.h" 14 #include "storage/browser/fileapi/async_file_util_adapter.h"
15 #include "storage/browser/fileapi/file_stream_reader.h" 15 #include "storage/browser/fileapi/file_stream_reader.h"
16 #include "storage/browser/fileapi/file_stream_writer.h" 16 #include "storage/browser/fileapi/file_stream_writer.h"
17 #include "storage/browser/fileapi/file_system_context.h" 17 #include "storage/browser/fileapi/file_system_context.h"
18 #include "storage/browser/fileapi/file_system_operation.h" 18 #include "storage/browser/fileapi/file_system_operation.h"
19 #include "storage/browser/fileapi/file_system_operation_context.h" 19 #include "storage/browser/fileapi/file_system_operation_context.h"
20 #include "storage/browser/fileapi/file_system_options.h"
21 #include "storage/browser/fileapi/isolated_context.h" 20 #include "storage/browser/fileapi/isolated_context.h"
22 #include "storage/browser/fileapi/obfuscated_file_util.h" 21 #include "storage/browser/fileapi/obfuscated_file_util.h"
23 #include "storage/browser/fileapi/quota/quota_reservation.h" 22 #include "storage/browser/fileapi/quota/quota_reservation.h"
24 #include "storage/common/fileapi/file_system_util.h" 23 #include "storage/common/fileapi/file_system_util.h"
25 24
26 namespace storage { 25 namespace storage {
27 26
28 class PluginPrivateFileSystemBackend::FileSystemIDToPluginMap { 27 class PluginPrivateFileSystemBackend::FileSystemIDToPluginMap {
29 public: 28 public:
30 explicit FileSystemIDToPluginMap(base::SequencedTaskRunner* task_runner) 29 explicit FileSystemIDToPluginMap(base::SequencedTaskRunner* task_runner)
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 FileSystemType type) const { 288 FileSystemType type) const {
290 return NULL; 289 return NULL;
291 } 290 }
292 291
293 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() { 292 ObfuscatedFileUtil* PluginPrivateFileSystemBackend::obfuscated_file_util() {
294 return static_cast<ObfuscatedFileUtil*>( 293 return static_cast<ObfuscatedFileUtil*>(
295 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util()); 294 static_cast<AsyncFileUtilAdapter*>(file_util_.get())->sync_file_util());
296 } 295 }
297 296
298 } // namespace storage 297 } // namespace storage
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698