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

Issue 184233010: Cleanup SplitStringIntoKeyaluePairs implementation. (Closed)

Created:
6 years, 9 months ago by pneubeck (no reviews)
Modified:
6 years, 9 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, erikwright+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Cleanup SplitStringIntoKeyaluePairs implementation. This function was originally a helper function for sync and wasn't cleaned up/revisited since its move to base/ . Since there are now several users of this function, we should care about a cleaner implementation. While at string_split.cc, moving local functions (which partially were missing 'static') to an anonymous namespace. BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256226

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Rebased. #

Patch Set 3 : Removed incorrect DCHECK. #

Patch Set 4 : Move cc-local functions to anonymous namespace. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -107 lines) Patch
M base/strings/string_split.h View 1 2 chunks +10 lines, -6 lines 0 comments Download
M base/strings/string_split.cc View 1 2 3 4 chunks +96 lines, -101 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
pneubeck (no reviews)
please review, thanks!
6 years, 9 months ago (2014-03-05 22:30:59 UTC) #1
pneubeck (no reviews)
This is based on the other CL https://codereview.chromium.org/184233009/ Please take a look, thanks!
6 years, 9 months ago (2014-03-06 02:06:21 UTC) #2
Mark Mentovai
https://codereview.chromium.org/184233010/diff/60001/base/strings/string_split.cc File base/strings/string_split.cc (right): https://codereview.chromium.org/184233010/diff/60001/base/strings/string_split.cc#newcode94 base/strings/string_split.cc:94: // Don't add empty pairs into the result. This ...
6 years, 9 months ago (2014-03-06 17:55:51 UTC) #3
pneubeck (no reviews)
https://codereview.chromium.org/184233010/diff/60001/base/strings/string_split.cc File base/strings/string_split.cc (right): https://codereview.chromium.org/184233010/diff/60001/base/strings/string_split.cc#newcode102 base/strings/string_split.cc:102: // value or key; just record that our split ...
6 years, 9 months ago (2014-03-07 17:12:10 UTC) #4
Mark Mentovai
LGTM
6 years, 9 months ago (2014-03-07 17:15:43 UTC) #5
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 9 months ago (2014-03-07 17:16:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/184233010/120001
6 years, 9 months ago (2014-03-07 17:17:25 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 17:22:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg, mac_chromium_rel
6 years, 9 months ago (2014-03-07 17:22:02 UTC) #9
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 9 months ago (2014-03-07 17:32:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/184233010/140001
6 years, 9 months ago (2014-03-07 17:33:03 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 17:46:33 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-07 17:46:33 UTC) #13
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 9 months ago (2014-03-11 08:49:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/184233010/160001
6 years, 9 months ago (2014-03-11 08:51:13 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 15:01:59 UTC) #16
Message was sent while issue was closed.
Change committed as 256226

Powered by Google App Engine
This is Rietveld 408576698