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

Issue 2356253006: Make SplitStringUsingSubstr have consistent args. (Closed)

Created:
4 years, 3 months ago by brettw
Modified:
4 years, 3 months ago
Reviewers:
Bernhard Bauer, dcheng
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, michaelpg+watch-options_chromium.org, asvitkine+watch_chromium.org, estade+watch_chromium.org, rouslan+autofill_chromium.org, Paweł Hajdan Jr., jdonnelly+autofillwatch_chromium.org, feature-media-reviews_chromium.org, kalyank, jshin+watch_chromium.org, mcasas+watch+vc_chromium.org, devtools-reviews_chromium.org, vabr+watchlistautofill_chromium.org, chromium-apps-reviews_chromium.org, tdresser+watch_chromium.org, ozone-reviews_chromium.org, pfeldman, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make SplitStringUsingSubstr have consistent args. The other split string functions have a consistent set of arguments that allow callers to specify whitespace handling and what to do with empty items. This one variant still used the old signature and passed through the parameters to the same backend. This patch makes the parameters match the other forms and removes the legacy versions. There should be no behavior change since this should end up calling the same backend with the same parameters. gesture_property_provider.cc changed to using a range-based for loop since it didn't need the temporary. R=dcheng@chromium.org TBR=bauerb@chromium.org (webui owners) Committed: https://crrev.com/8d858df953b8ef6f1424c1439be2594f1e99f1f1 Cr-Commit-Position: refs/heads/master@{#420562}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -66 lines) Patch
M base/strings/string_split.h View 1 chunk +10 lines, -10 lines 0 comments Download
M base/strings/string_split.cc View 1 chunk +14 lines, -10 lines 0 comments Download
M base/strings/string_split_unittest.cc View 2 chunks +11 lines, -16 lines 0 comments Download
M chrome/browser/devtools/device/android_device_info_query.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/autofill_private/autofill_util.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/media/webrtc/webrtc_log_uploader_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/perf/perf_provider_chromeos.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/autofill_options_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_client_unittest.cc View 1 chunk +12 lines, -4 lines 0 comments Download
M extensions/renderer/extensions_render_frame_observer.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/ftp/ftp_directory_listing_parser_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/events/ozone/evdev/libgestures_glue/gesture_property_provider.cc View 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
brettw
4 years, 3 months ago (2016-09-22 22:40:56 UTC) #3
dcheng
lgtm
4 years, 3 months ago (2016-09-23 01:47:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2356253006/1
4 years, 3 months ago (2016-09-23 02:09:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/265359)
4 years, 3 months ago (2016-09-23 02:18:54 UTC) #13
brettw
TBR=bauerb for webui owners for trivial update.
4 years, 3 months ago (2016-09-23 03:08:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2356253006/1
4 years, 3 months ago (2016-09-23 03:08:38 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-23 03:13:54 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 03:15:56 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8d858df953b8ef6f1424c1439be2594f1e99f1f1
Cr-Commit-Position: refs/heads/master@{#420562}

Powered by Google App Engine
This is Rietveld 408576698