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

Issue 11305010: Extract arguments reconstruction logic out of GetCommandLineString() into GetArgumentsString(). (Closed)

Created:
8 years, 1 month ago by gab
Modified:
8 years, 1 month ago
CC:
chromium-reviews, erikwright+watch_chromium.org, grt (UTC plus 2)
Visibility:
Public.

Description

Extract arguments reconstruction logic out of GetCommandLineString() into GetArgumentsString(). BUG=To get arguments we had to GetCommandLineString() and piece out the program: http://code.google.com/searchframe#OAMlx_jo-ck/src/chrome/installer/util/install_util.cc&exact_package=chromium&q=GetCommandLineString&type=cs&l=125 TEST=base_unittests.exe --gtest_filter=CommandLineTest* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164740

Patch Set 1 #

Total comments: 4

Patch Set 2 : Also test with AppendArg(). #

Patch Set 3 : some more quotes working only on OS_WIN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -9 lines) Patch
M base/command_line.h View 1 chunk +7 lines, -1 line 0 comments Download
M base/command_line.cc View 1 chunk +19 lines, -8 lines 0 comments Download
M base/command_line_unittest.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
gab
Sir, what say you :)? http://codereview.chromium.org/11305010/diff/1/base/command_line.h File base/command_line.h (right): http://codereview.chromium.org/11305010/diff/1/base/command_line.h#newcode82 base/command_line.h:82: // CAUTION! This should ...
8 years, 1 month ago (2012-10-26 18:57:59 UTC) #1
robertshield
lgtm, this changes looks fine to me with a small amount of extra testing as ...
8 years, 1 month ago (2012-10-29 02:04:43 UTC) #2
gab
Thanks, @willchan for OWNER approval. http://codereview.chromium.org/11305010/diff/1/base/command_line_unittest.cc File base/command_line_unittest.cc (right): http://codereview.chromium.org/11305010/diff/1/base/command_line_unittest.cc#newcode192 base/command_line_unittest.cc:192: cl.AppendSwitchPath(kSecondArgName, FilePath(kPath2)); On 2012/10/29 ...
8 years, 1 month ago (2012-10-29 15:50:44 UTC) #3
willchan no longer on Chromium
Tests seem to fail.
8 years, 1 month ago (2012-10-29 17:31:24 UTC) #4
gab
On 2012/10/29 17:31:24, willchan wrote: > Tests seem to fail. They did, but that and ...
8 years, 1 month ago (2012-10-29 17:40:36 UTC) #5
willchan no longer on Chromium
LGTM if tests pass
8 years, 1 month ago (2012-10-29 17:48:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11305010/15001
8 years, 1 month ago (2012-10-29 18:07:19 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-10-29 21:31:33 UTC) #8
Change committed as 164740

Powered by Google App Engine
This is Rietveld 408576698