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

Issue 8160: Enable stats_tabe_unittest.cc on OS X. (Closed)

Created:
12 years, 1 month ago by jeremy
Modified:
9 years, 6 months ago
Reviewers:
Amanda Walker
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Enable stats_tabe_unittest.cc on OS X. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4024

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -9 lines) Patch
M base/base.xcodeproj/project.pbxproj View 1 2 6 chunks +8 lines, -0 lines 0 comments Download
M base/multiprocess_test.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M base/port.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
A base/process_util_mac.mm View 1 2 1 chunk +65 lines, -0 lines 1 comment Download
M base/stats_table_unittest.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M base/test_suite.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jeremy
12 years, 1 month ago (2008-10-24 20:36:44 UTC) #1
jeremy
12 years, 1 month ago (2008-10-27 16:00:34 UTC) #2
Amanda Walker
http://codereview.chromium.org/8160/diff/207/208 File base/process_util_mac.mm (right): http://codereview.chromium.org/8160/diff/207/208#newcode16 Line 16: bool wait, ProcessHandle* process_handle) { It might be ...
12 years, 1 month ago (2008-10-27 16:56:16 UTC) #3
jeremy
http://codereview.chromium.org/8160/diff/207/208 File base/process_util_mac.mm (right): http://codereview.chromium.org/8160/diff/207/208#newcode16 Line 16: bool wait, ProcessHandle* process_handle) { On 2008/10/27 16:56:17, ...
12 years, 1 month ago (2008-10-27 18:35:33 UTC) #4
Amanda Walker
12 years, 1 month ago (2008-10-27 18:50:51 UTC) #5
LGTM with one additional simplification.

http://codereview.chromium.org/8160/diff/216/217
File base/process_util_mac.mm (right):

http://codereview.chromium.org/8160/diff/216/217#newcode22
Line 22: argv_copy[i] = new char[argv[i].size() + 1];
You should be able to remove this copy by using argv[i].c_str(), which will
return a C-style string pointer that's valid until the next non-const method is
called on argv[i] (and does not need to be deleted).

Powered by Google App Engine
This is Rietveld 408576698