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

Issue 7249: Store the command line in a more convenient format on non-windows platforms. (Closed)

Created:
12 years, 2 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Store the command line in a more convenient format on non-windows platforms. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=3426

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -23 lines) Patch
M base/command_line.h View 1 2 3 4 3 chunks +16 lines, -0 lines 1 comment Download
M base/command_line.cc View 1 2 3 4 6 chunks +63 lines, -18 lines 0 comments Download
M base/command_line_unittest.cc View 1 2 3 4 6 chunks +24 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Evan Stade
These changes are necessary (or helpful) for porting LaunchApp without passing the command line as ...
12 years, 2 months ago (2008-10-11 00:48:00 UTC) #1
Amanda Walker
Drive-by review: I'd be mildly more comfortable if the vector made copies of the arguments ...
12 years, 2 months ago (2008-10-11 01:29:30 UTC) #2
Evan Stade
Any other opinions on this matter? Should the strings be copied or is it enough ...
12 years, 2 months ago (2008-10-14 17:39:45 UTC) #3
Evan Martin
http://codereview.chromium.org/7249/diff/6/8 File base/command_line.h (right): http://codereview.chromium.org/7249/diff/6/8#newcode72 Line 72: std::vector<const char*> argv() const; I agree with Amanda. ...
12 years, 2 months ago (2008-10-14 23:28:05 UTC) #4
Mark Mentovai
http://codereview.chromium.org/7249/diff/401/11 File base/command_line.cc (right): http://codereview.chromium.org/7249/diff/401/11#newcode128 Line 128: char* prog = new char[strlen(argv[0]) + 1]; This ...
12 years, 2 months ago (2008-10-15 03:14:15 UTC) #5
Evan Stade
http://codereview.chromium.org/7249/diff/6/8 File base/command_line.h (right): http://codereview.chromium.org/7249/diff/6/8#newcode72 Line 72: std::vector<const char*> argv() const; On 2008/10/14 23:28:05, Evan ...
12 years, 2 months ago (2008-10-15 21:02:30 UTC) #6
Evan Martin
LGTM, one nit http://codereview.chromium.org/7249/diff/18/403 File base/command_line.h (right): http://codereview.chromium.org/7249/diff/18/403#newcode72 Line 72: // Returns the original command ...
12 years, 2 months ago (2008-10-15 21:54:39 UTC) #7
Evan Stade
12 years, 2 months ago (2008-10-15 21:59:28 UTC) #8
On 2008/10/15 21:54:39, Evan Martin wrote:
> LGTM, one nit
> 
> http://codereview.chromium.org/7249/diff/18/403
> File base/command_line.h (right):
> 
> http://codereview.chromium.org/7249/diff/18/403#newcode72
> Line 72: // Returns the original command line string as a vector of c-strings.
> This comment is no longer accurate.  ("c-strings" should be just "strings")

fixed and committed

Powered by Google App Engine
This is Rietveld 408576698