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

Unified Diff: base/command_line.h

Issue 11305010: Extract arguments reconstruction logic out of GetCommandLineString() into GetArgumentsString(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/command_line_unittest.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 37cc71babb48228db59a3ff7f80ba425f31ef634..7d8627fa8417f33c77cc22c88e706ef821d78b50 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -79,9 +79,15 @@ class BASE_EXPORT CommandLine {
void InitFromArgv(const StringVector& argv);
// Constructs and returns the represented command line string.
- // CAUTION! This should be avoided because quoting behavior is unclear.
+ // CAUTION! This should be avoided on POSIX because quoting behavior is
gab 2012/10/26 18:57:59 This CAUTION message was inserted a whillleee back
robertshield 2012/10/29 02:04:43 I believe the comment is still valid for POSIX sys
+ // unclear.
StringType GetCommandLineString() const;
+ // Constructs and returns the represented arguments string.
+ // CAUTION! This should be avoided on POSIX because quoting behavior is
+ // unclear.
+ StringType GetArgumentsString() const;
+
// Returns the original command line string as a vector of strings.
const StringVector& argv() const { return argv_; }
« no previous file with comments | « no previous file | base/command_line.cc » ('j') | base/command_line_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698