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

Side by Side Diff: storage/browser/fileapi/sandbox_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: Fixed Review Comments 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/sandbox_file_system_backend.h" 5 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/task_runner_util.h" 11 #include "base/task_runner_util.h"
12 #include "storage/browser/fileapi/async_file_util_adapter.h" 12 #include "storage/browser/fileapi/async_file_util_adapter.h"
13 #include "storage/browser/fileapi/copy_or_move_file_validator.h" 13 #include "storage/browser/fileapi/copy_or_move_file_validator.h"
14 #include "storage/browser/fileapi/file_stream_reader.h" 14 #include "storage/browser/fileapi/file_stream_reader.h"
15 #include "storage/browser/fileapi/file_stream_writer.h" 15 #include "storage/browser/fileapi/file_stream_writer.h"
16 #include "storage/browser/fileapi/file_system_context.h" 16 #include "storage/browser/fileapi/file_system_context.h"
17 #include "storage/browser/fileapi/file_system_operation.h" 17 #include "storage/browser/fileapi/file_system_operation.h"
18 #include "storage/browser/fileapi/file_system_operation_context.h" 18 #include "storage/browser/fileapi/file_system_operation_context.h"
19 #include "storage/browser/fileapi/file_system_options.h" 19 #include "storage/browser/fileapi/file_system_options.h"
20 #include "storage/browser/fileapi/file_system_usage_cache.h" 20 #include "storage/browser/fileapi/file_system_usage_cache.h"
21 #include "storage/browser/fileapi/obfuscated_file_util.h" 21 #include "storage/browser/fileapi/obfuscated_file_util.h"
22 #include "storage/browser/fileapi/sandbox_file_system_backend_delegate.h"
23 #include "storage/browser/fileapi/sandbox_quota_observer.h" 22 #include "storage/browser/fileapi/sandbox_quota_observer.h"
24 #include "storage/browser/quota/quota_manager.h" 23 #include "storage/browser/quota/quota_manager.h"
25 #include "storage/common/fileapi/file_system_types.h" 24 #include "storage/common/fileapi/file_system_types.h"
26 #include "storage/common/fileapi/file_system_util.h" 25 #include "storage/common/fileapi/file_system_util.h"
27 #include "url/gurl.h" 26 #include "url/gurl.h"
28 27
29 using storage::QuotaManagerProxy; 28 using storage::QuotaManagerProxy;
30 using storage::SpecialStoragePolicy; 29 using storage::SpecialStoragePolicy;
31 30
32 namespace storage { 31 namespace storage {
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 return delegate_->GetAccessObservers(type); 172 return delegate_->GetAccessObservers(type);
174 } 173 }
175 174
176 SandboxFileSystemBackendDelegate::OriginEnumerator* 175 SandboxFileSystemBackendDelegate::OriginEnumerator*
177 SandboxFileSystemBackend::CreateOriginEnumerator() { 176 SandboxFileSystemBackend::CreateOriginEnumerator() {
178 DCHECK(delegate_); 177 DCHECK(delegate_);
179 return delegate_->CreateOriginEnumerator(); 178 return delegate_->CreateOriginEnumerator();
180 } 179 }
181 180
182 } // namespace storage 181 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/fileapi/sandbox_file_stream_writer.cc ('k') | storage/browser/fileapi/sandbox_quota_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698