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

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

Issue 20989003: Deprecate FileSystemTaskRunners (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 4 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 | Annotate | Revision Log
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 "webkit/browser/fileapi/sandbox_file_system_test_helper.h" 5 #include "webkit/browser/fileapi/sandbox_file_system_test_helper.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/message_loop/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 #include "webkit/browser/fileapi/file_system_context.h" 11 #include "webkit/browser/fileapi/file_system_context.h"
12 #include "webkit/browser/fileapi/file_system_file_util.h" 12 #include "webkit/browser/fileapi/file_system_file_util.h"
13 #include "webkit/browser/fileapi/file_system_operation_context.h" 13 #include "webkit/browser/fileapi/file_system_operation_context.h"
14 #include "webkit/browser/fileapi/file_system_operation_runner.h" 14 #include "webkit/browser/fileapi/file_system_operation_runner.h"
15 #include "webkit/browser/fileapi/file_system_task_runners.h"
16 #include "webkit/browser/fileapi/file_system_url.h" 15 #include "webkit/browser/fileapi/file_system_url.h"
17 #include "webkit/browser/fileapi/file_system_usage_cache.h" 16 #include "webkit/browser/fileapi/file_system_usage_cache.h"
18 #include "webkit/browser/fileapi/mock_file_system_context.h" 17 #include "webkit/browser/fileapi/mock_file_system_context.h"
19 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" 18 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
20 #include "webkit/browser/quota/mock_special_storage_policy.h" 19 #include "webkit/browser/quota/mock_special_storage_policy.h"
21 #include "webkit/common/fileapi/file_system_util.h" 20 #include "webkit/common/fileapi/file_system_util.h"
22 21
23 namespace fileapi { 22 namespace fileapi {
24 23
25 SandboxFileSystemTestHelper::SandboxFileSystemTestHelper( 24 SandboxFileSystemTestHelper::SandboxFileSystemTestHelper(
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 file_system_context_->sandbox_context()-> 143 file_system_context_->sandbox_context()->
145 GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */); 144 GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */);
146 145
147 // Initialize the usage cache file. 146 // Initialize the usage cache file.
148 base::FilePath usage_cache_path = GetUsageCachePath(); 147 base::FilePath usage_cache_path = GetUsageCachePath();
149 if (!usage_cache_path.empty()) 148 if (!usage_cache_path.empty())
150 usage_cache()->UpdateUsage(usage_cache_path, 0); 149 usage_cache()->UpdateUsage(usage_cache_path, 0);
151 } 150 }
152 151
153 } // namespace fileapi 152 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_backend.cc ('k') | webkit/browser/fileapi/syncable/canned_syncable_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698