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

Unified Diff: base/command_line.h

Issue 3030043: PrependWrapper is platform-specific, so it should take a platform string. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | base/command_line.cc » ('j') | no next file with comments »
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 2178bdfa8fb0e1593f9f21fafbcde4fac2e00aff..331add968a71d991c9eb8e14c0690cd344e6ea73 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -173,9 +173,9 @@ class CommandLine {
void AppendArguments(const CommandLine& other,
bool include_program);
- // On POSIX systems it's common to run processes via a wrapper (like
- // "valgrind" or "gdb --args").
- void PrependWrapper(const std::wstring& wrapper);
+ // Insert a command before the current command. Common for debuggers,
+ // like "valgrind" or "gdb --args".
+ void PrependWrapper(const StringType& wrapper);
// Copy a set of switches (and their values, if any) from another command
// line. Commonly used when launching a subprocess.
« no previous file with comments | « no previous file | base/command_line.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698