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

Side by Side Diff: webkit/browser/fileapi/sandbox_file_system_backend_delegate.cc

Issue 488463005: Remove implicit conversions from scoped_refptr to T* in webkit/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « webkit/browser/fileapi/quota/quota_backend_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h" 5 #include "webkit/browser/fileapi/sandbox_file_system_backend_delegate.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 base::Bind(&GetTypeStringForURL), 184 base::Bind(&GetTypeStringForURL),
185 GetKnownTypeStrings(), 185 GetKnownTypeStrings(),
186 this))), 186 this))),
187 file_system_usage_cache_(new FileSystemUsageCache(file_task_runner)), 187 file_system_usage_cache_(new FileSystemUsageCache(file_task_runner)),
188 quota_observer_(new SandboxQuotaObserver(quota_manager_proxy, 188 quota_observer_(new SandboxQuotaObserver(quota_manager_proxy,
189 file_task_runner, 189 file_task_runner,
190 obfuscated_file_util(), 190 obfuscated_file_util(),
191 usage_cache())), 191 usage_cache())),
192 quota_reservation_manager_(new QuotaReservationManager( 192 quota_reservation_manager_(new QuotaReservationManager(
193 scoped_ptr<QuotaReservationManager::QuotaBackend>( 193 scoped_ptr<QuotaReservationManager::QuotaBackend>(
194 new QuotaBackendImpl(file_task_runner_, 194 new QuotaBackendImpl(file_task_runner_.get(),
195 obfuscated_file_util(), 195 obfuscated_file_util(),
196 usage_cache(), 196 usage_cache(),
197 quota_manager_proxy)))), 197 quota_manager_proxy)))),
198 special_storage_policy_(special_storage_policy), 198 special_storage_policy_(special_storage_policy),
199 file_system_options_(file_system_options), 199 file_system_options_(file_system_options),
200 is_filesystem_opened_(false), 200 is_filesystem_opened_(false),
201 weak_factory_(this) { 201 weak_factory_(this) {
202 // Prepopulate database only if it can run asynchronously (i.e. the current 202 // Prepopulate database only if it can run asynchronously (i.e. the current
203 // thread is not file_task_runner). Usually this is the case but may not 203 // thread is not file_task_runner). Usually this is the case but may not
204 // in test code. 204 // in test code.
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 return new ObfuscatedFileUtil(special_storage_policy, 664 return new ObfuscatedFileUtil(special_storage_policy,
665 file_system_directory, 665 file_system_directory,
666 env_override, 666 env_override,
667 file_task_runner, 667 file_task_runner,
668 base::Bind(&GetTypeStringForURL), 668 base::Bind(&GetTypeStringForURL),
669 GetKnownTypeStrings(), 669 GetKnownTypeStrings(),
670 NULL); 670 NULL);
671 } 671 }
672 672
673 } // namespace storage 673 } // namespace storage
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/quota/quota_backend_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698