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

Unified Diff: base/command_line.h

Issue 65193003: Clear SingleProcess and InProcessGPU logic. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Extract RegisterMainThreadFactories() from RunNamedProcessTypeMain() for readability. Created 7 years, 1 month 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') | content/app/content_main_runner.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 81bd4b73761bb0bab590665cd108d2fc9cb6311f..844a1c29fd0aaca21ac30bd0e609cd2741aa2449 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -134,6 +134,9 @@ class BASE_EXPORT CommandLine {
void AppendSwitchASCII(const std::string& switch_string,
const std::string& value);
+ // Remove a switch to the command line.
+ void RemoveSwitch(const std::string& switch_string);
+
// Copy a set of switches (and any values) from another command line.
// Commonly used when launching a subprocess.
void CopySwitchesFrom(const CommandLine& source,
« no previous file with comments | « no previous file | base/command_line.cc » ('j') | content/app/content_main_runner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698