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

Side by Side Diff: content/public/test/sandbox_file_system_test_helper.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback 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
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 "content/public/test/sandbox_file_system_test_helper.h" 5 #include "content/public/test/sandbox_file_system_test_helper.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "content/public/test/mock_special_storage_policy.h" 10 #include "content/public/test/mock_special_storage_policy.h"
11 #include "content/public/test/test_file_system_context.h" 11 #include "content/public/test/test_file_system_context.h"
12 #include "storage/browser/fileapi/file_system_context.h"
13 #include "storage/browser/fileapi/file_system_file_util.h"
14 #include "storage/browser/fileapi/file_system_operation_context.h"
15 #include "storage/browser/fileapi/file_system_operation_runner.h"
16 #include "storage/browser/fileapi/file_system_url.h"
17 #include "storage/browser/fileapi/file_system_usage_cache.h"
18 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
19 #include "storage/browser/quota/quota_manager_proxy.h"
12 #include "storage/common/fileapi/file_system_util.h" 20 #include "storage/common/fileapi/file_system_util.h"
13 #include "url/gurl.h" 21 #include "url/gurl.h"
14 #include "webkit/browser/fileapi/file_system_context.h"
15 #include "webkit/browser/fileapi/file_system_file_util.h"
16 #include "webkit/browser/fileapi/file_system_operation_context.h"
17 #include "webkit/browser/fileapi/file_system_operation_runner.h"
18 #include "webkit/browser/fileapi/file_system_url.h"
19 #include "webkit/browser/fileapi/file_system_usage_cache.h"
20 #include "webkit/browser/fileapi/sandbox_file_system_backend.h"
21 #include "webkit/browser/quota/quota_manager_proxy.h"
22 22
23 using storage::FileSystemContext; 23 using storage::FileSystemContext;
24 using storage::FileSystemOperationContext; 24 using storage::FileSystemOperationContext;
25 using storage::FileSystemOperationRunner; 25 using storage::FileSystemOperationRunner;
26 using storage::FileSystemURL; 26 using storage::FileSystemURL;
27 27
28 namespace content { 28 namespace content {
29 29
30 SandboxFileSystemTestHelper::SandboxFileSystemTestHelper( 30 SandboxFileSystemTestHelper::SandboxFileSystemTestHelper(
31 const GURL& origin, 31 const GURL& origin,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 file_system_context_->sandbox_delegate()-> 151 file_system_context_->sandbox_delegate()->
152 GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */); 152 GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */);
153 153
154 // Initialize the usage cache file. 154 // Initialize the usage cache file.
155 base::FilePath usage_cache_path = GetUsageCachePath(); 155 base::FilePath usage_cache_path = GetUsageCachePath();
156 if (!usage_cache_path.empty()) 156 if (!usage_cache_path.empty())
157 usage_cache()->UpdateUsage(usage_cache_path, 0); 157 usage_cache()->UpdateUsage(usage_cache_path, 0);
158 } 158 }
159 159
160 } // namespace content 160 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/sandbox_file_system_test_helper.h ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698