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

Unified Diff: content/public/test/test_file_system_options.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_file_system_options.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_file_system_options.cc
diff --git a/content/public/test/test_file_system_options.cc b/content/public/test/test_file_system_options.cc
deleted file mode 100644
index 7a020dd7129b22e86d7b14d02c0ada4bc15f7911..0000000000000000000000000000000000000000
--- a/content/public/test/test_file_system_options.cc
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "build/build_config.h"
-#include "content/public/test/test_file_system_options.h"
-
-#include <string>
-#include <vector>
-
-using storage::FileSystemOptions;
-
-namespace content {
-
-FileSystemOptions CreateIncognitoFileSystemOptions() {
- std::vector<std::string> additional_allowed_schemes;
-#if defined(OS_CHROMEOS)
- additional_allowed_schemes.push_back("chrome-extension");
-#endif
- return FileSystemOptions(FileSystemOptions::PROFILE_MODE_INCOGNITO,
- additional_allowed_schemes,
- NULL);
-}
-
-FileSystemOptions CreateAllowFileAccessOptions() {
- std::vector<std::string> additional_allowed_schemes;
- additional_allowed_schemes.push_back("file");
-#if defined(OS_CHROMEOS)
- additional_allowed_schemes.push_back("chrome-extension");
-#endif
- return FileSystemOptions(FileSystemOptions::PROFILE_MODE_NORMAL,
- additional_allowed_schemes,
- NULL);
-}
-
-FileSystemOptions CreateDisallowFileAccessOptions() {
- std::vector<std::string> additional_allowed_schemes;
-#if defined(OS_CHROMEOS)
- additional_allowed_schemes.push_back("chrome-extension");
-#endif
- return FileSystemOptions(FileSystemOptions::PROFILE_MODE_NORMAL,
- additional_allowed_schemes,
- NULL);
-}
-
-} // namespace content
« no previous file with comments | « content/public/test/test_file_system_options.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698