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

Issue 3366011: base: Move SplitStringDontTrim functions from string_util.h to string_split.h (Closed)

Created:
10 years, 3 months ago by tfarina
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, Erik does not do reviews, brettw-cc_chromium.org, jam, Aaron Boodman, darin-cc_chromium.org, Paweł Hajdan Jr., stuartmorgan+watch_chromium.org, jshin+watch_chromium.org, tim (not reviewing)
Base URL:
git://git.chromium.org/chromium.git
Visibility:
Public.

Description

base: Move SplitStringDontTrim functions from string_util.h to string_split.h BUG=None TEST=trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59493

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : base_unittests fix #

Total comments: 12

Patch Set 4 : review #

Patch Set 5 : hack #

Total comments: 11

Patch Set 6 : review comments #

Patch Set 7 : fix linux trybot #

Total comments: 2

Patch Set 8 : remove dchecks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -56 lines) Patch
M base/mime_util_xdg.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M base/string_split.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M base/string_split.cc View 1 2 3 4 5 6 7 2 chunks +49 lines, -0 lines 0 comments Download
M base/string_split_unittest.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M base/string_util.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -11 lines 0 comments Download
M base/string_util.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -20 lines 0 comments Download
M base/string_util_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/plugin/chrome_plugin_host.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/bindings_utils.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/service/cloud_print/cloud_print_proxy_backend.cc View 7 2 chunks +2 lines, -1 line 0 comments Download
M net/websockets/websocket_handshake_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/websockets/websocket_net_log_params.h View 2 chunks +2 lines, -1 line 0 comments Download
M webkit/glue/dom_operations.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
tfarina
10 years, 3 months ago (2010-09-05 22:31:06 UTC) #1
tfarina
ping!
10 years, 3 months ago (2010-09-08 18:49:00 UTC) #2
jungshik at Google
http://codereview.chromium.org/3366011/diff/5001/6002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/5001/6002#newcode110 base/string_split.cc:110: const typename STR::value_type s, This does not work well ...
10 years, 3 months ago (2010-09-08 20:04:06 UTC) #3
jungshik at Google
http://codereview.chromium.org/3366011/diff/5001/6002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/5001/6002#newcode141 base/string_split.cc:141: std::vector<string16>* r) { On 2010/09/08 20:04:06, Jungshik Shin wrote: ...
10 years, 3 months ago (2010-09-08 20:07:12 UTC) #4
jungshik at Google
http://codereview.chromium.org/3366011/diff/5001/6002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/5001/6002#newcode134 base/string_split.cc:134: std::vector<std::wstring>* r) { Where WCHAR_T_IS_UTF16 is true, you also ...
10 years, 3 months ago (2010-09-08 20:10:02 UTC) #5
tfarina
http://codereview.chromium.org/3366011/diff/5001/6002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/5001/6002#newcode134 base/string_split.cc:134: std::vector<std::wstring>* r) { On 2010/09/08 20:10:02, Jungshik Shin wrote: ...
10 years, 3 months ago (2010-09-09 01:01:26 UTC) #6
tfarina
I'm really intrigued why this is failing to compile on the trybots but *not* locally ...
10 years, 3 months ago (2010-09-09 02:02:58 UTC) #7
jungshik at Google
thanks for addressing comments. http://codereview.chromium.org/3366011/diff/20001/21002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/20001/21002#newcode137 base/string_split.cc:137: DCHECK(CBU16_IS_SINGLE(c)); This DCHECK should be ...
10 years, 3 months ago (2010-09-09 18:48:17 UTC) #8
brettw
http://codereview.chromium.org/3366011/diff/20001/21002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/20001/21002#newcode155 base/string_split.cc:155: DCHECK(IsStringASCII(ASCIIToUTF16(tmp))); This entire 3-line thing can be replaced with: ...
10 years, 3 months ago (2010-09-09 21:38:19 UTC) #9
jungshik at Google
http://codereview.chromium.org/3366011/diff/20001/21002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/20001/21002#newcode155 base/string_split.cc:155: DCHECK(IsStringASCII(ASCIIToUTF16(tmp))); On 2010/09/09 21:38:20, brettw wrote: > This entire ...
10 years, 3 months ago (2010-09-09 22:36:03 UTC) #10
tfarina
http://codereview.chromium.org/3366011/diff/20001/21002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/20001/21002#newcode137 base/string_split.cc:137: DCHECK(CBU16_IS_SINGLE(c)); On 2010/09/09 18:48:17, Jungshik Shin wrote: > This ...
10 years, 3 months ago (2010-09-10 01:46:45 UTC) #11
tfarina
http://codereview.chromium.org/3366011/diff/20001/21002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/20001/21002#newcode137 base/string_split.cc:137: DCHECK(CBU16_IS_SINGLE(c)); On 2010/09/09 18:48:17, Jungshik Shin wrote: > This ...
10 years, 3 months ago (2010-09-10 02:18:44 UTC) #12
tfarina
ping Jungshik.
10 years, 3 months ago (2010-09-10 22:38:26 UTC) #13
tfarina
ping Jungshik/Brett again. http://codereview.chromium.org/3366011/diff/30001/31002 File base/string_split.cc (right): http://codereview.chromium.org/3366011/diff/30001/31002#newcode140 base/string_split.cc:140: DCHECK(CBU_IS_UNICODE_CHAR(c)); This is not used by ...
10 years, 3 months ago (2010-09-14 12:44:32 UTC) #14
brettw
LGTM as long as you're actually going to finish moving the other split functions. Moving ...
10 years, 3 months ago (2010-09-14 15:58:52 UTC) #15
tfarina
On 2010/09/14 15:58:52, brettw wrote: > LGTM Thanks Brett. > as long as you're actually ...
10 years, 3 months ago (2010-09-14 18:18:46 UTC) #16
brettw
10 years, 3 months ago (2010-09-14 18:51:48 UTC) #17
On Tue, Sep 14, 2010 at 11:18 AM,  <tfarina@chromium.org> wrote:
> On 2010/09/14 15:58:52, brettw wrote:
>>
>> LGTM
>
> Thanks Brett.
>
>> as long as you're actually going to finish moving the other split
>> functions.
>
> Can I move the other split functions in another patch? I wouldn't like to
> make a
> mess with it (it's already big though).

Yes, that's what I was expecting you to do. I just wanted to make sure
you were going to actually do it :)

Brett

Powered by Google App Engine
This is Rietveld 408576698