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

Unified Diff: base/command_line.h

Issue 2876153002: Support Using ScopedFeatureList in BrowserTest (Closed)
Patch Set: add test and init FeatureList with command line in TestSuite::Initialize Created 3 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 | « no previous file | base/command_line.cc » ('j') | base/test/test_suite.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/command_line.h
diff --git a/base/command_line.h b/base/command_line.h
index 3d29f8fee7fbb8de9e8c1fb691515ddb8bdccbdd..71243d1deffb16aa15d5a61f102dde97486d97ea 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -182,6 +182,8 @@ class BASE_EXPORT CommandLine {
const StringType& value);
void AppendSwitchASCII(const std::string& switch_string,
const std::string& value);
+ void ReplaceSwitchASCIIForTesting(const std::string& switch_string,
+ const std::string& value);
Ilya Sherman 2017/05/25 22:48:11 I happened to find this code [1] in a code search.
chaopeng 2017/05/26 00:57:41 CommandLineHelper try to feature only if feature n
// Copy a set of switches (and any values) from another command line.
// Commonly used when launching a subprocess.
« no previous file with comments | « no previous file | base/command_line.cc » ('j') | base/test/test_suite.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698