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

Side by Side Diff: content/public/test/test_file_system_context.h

Issue 2815743002: Move a couple of blob tests next to the files they cover. (Closed)
Patch Set: Fix gn check, take 2. Created 3 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_CONTEXT_H_
6 #define CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_CONTEXT_H_
7
8 #include "base/files/file_path.h"
9 #include "storage/browser/fileapi/file_system_context.h"
10
11 namespace storage {
12 class QuotaManagerProxy;
13 }
14
15 namespace storage {
16 class FileSystemBackend;
17 }
18
19 namespace content {
20
21 storage::FileSystemContext* CreateFileSystemContextForTesting(
22 storage::QuotaManagerProxy* quota_manager_proxy,
23 const base::FilePath& base_path);
24
25 // The caller is responsible for including TestFileSystemBackend in
26 // |additional_providers| if needed.
27 storage::FileSystemContext*
28 CreateFileSystemContextWithAdditionalProvidersForTesting(
29 storage::QuotaManagerProxy* quota_manager_proxy,
30 std::vector<std::unique_ptr<storage::FileSystemBackend>>
31 additional_providers,
32 const base::FilePath& base_path);
33
34 storage::FileSystemContext* CreateFileSystemContextWithAutoMountersForTesting(
35 storage::QuotaManagerProxy* quota_manager_proxy,
36 std::vector<std::unique_ptr<storage::FileSystemBackend>>
37 additional_providers,
38 const std::vector<storage::URLRequestAutoMountHandler>& auto_mounters,
39 const base::FilePath& base_path);
40
41 storage::FileSystemContext* CreateIncognitoFileSystemContextForTesting(
42 storage::QuotaManagerProxy* quota_manager_proxy,
43 const base::FilePath& base_path);
44
45 } // namespace content
46
47 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/public/test/test_file_system_backend.cc ('k') | content/public/test/test_file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698