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

Unified Diff: chrome/test/base/test_launcher_utils.h

Issue 1996863002: media: Use bundled Widevine CDM in encrypted media browser tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 7 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 | « chrome/test/base/in_process_browser_test.cc ('k') | chrome/test/base/test_launcher_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/test_launcher_utils.h
diff --git a/chrome/test/base/test_launcher_utils.h b/chrome/test/base/test_launcher_utils.h
index 24bd23db5d47e015c3e114ce2c026aab6215dcf8..8aea1221205ef5b8bfc4896ca90c69d8d8293e07 100644
--- a/chrome/test/base/test_launcher_utils.h
+++ b/chrome/test/base/test_launcher_utils.h
@@ -21,6 +21,13 @@ namespace test_launcher_utils {
// when running under tests.
void PrepareBrowserCommandLineForTests(base::CommandLine* command_line);
+// Appends all switches from |in_command_line| to |out_command_line| except for
+// |switch_to_remove|.
+// TODO(xhwang): Add CommandLine::RemoveSwitch() so we don't need this hack.
+void RemoveCommandLineSwitch(const base::CommandLine& in_command_line,
+ const std::string& switch_to_remove,
+ base::CommandLine* out_command_line);
+
// Overrides the current process' user data dir.
bool OverrideUserDataDir(
const base::FilePath& user_data_dir) WARN_UNUSED_RESULT;
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | chrome/test/base/test_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698