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

Unified Diff: base/command_line.cc

Issue 18254010: IPC fuzzer child process component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no windows support Created 7 years, 4 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
« base/command_line.h ('K') | « base/command_line.h ('k') | build/all.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/command_line.cc
diff --git a/base/command_line.cc b/base/command_line.cc
index 36ac88f12c18c78794768e5e881e45201506c3ef..2e21cd8b9f5917373dfe0a591aaea9d11e77297c 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -349,6 +349,11 @@ void CommandLine::AppendSwitchASCII(const std::string& switch_string,
#endif
}
+void CommandLine::CopySwitchFrom(const CommandLine& source,
+ const char* switch_name) {
+ CopySwitchesFrom(source, &switch_name, 1);
+}
+
void CommandLine::CopySwitchesFrom(const CommandLine& source,
const char* const switches[],
size_t count) {
« base/command_line.h ('K') | « base/command_line.h ('k') | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698