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

Issue 1234973004: Update SplitString calls in components (Closed)

Created:
5 years, 5 months ago by brettw
Modified:
5 years, 4 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, cbentzel+watch_chromium.org, browser-components-watch_chromium.org, vabr+watchlist_chromium.org, jam, raymes+watch_chromium.org, noyau+watch_chromium.org, darin-cc_chromium.org, tfarina, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, markusheintz_, gcasto+watchlist_chromium.org, rouslan+autofillwatch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update SplitString calls in components This converts calls from the old form to the new form. Some calls that iterated over the results were changed to a range-based for loop with an inline call to SplitString. Some places were changed to use StringPieces when it was safe to do so. Committed: https://crrev.com/8be197d144c267c6a7c1b207a41267ac6c971712 Cr-Commit-Position: refs/heads/master@{#340209}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 20

Patch Set 6 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -234 lines) Patch
M components/autofill/content/browser/risk/fingerprint.cc View 1 chunk +4 lines, -6 lines 0 comments Download
M components/autofill/content/browser/wallet/wallet_address.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M components/autofill/core/browser/address.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/address_i18n.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_field.cc View 1 2 3 4 5 4 chunks +12 lines, -5 lines 0 comments Download
M components/autofill/core/browser/credit_card.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M components/bookmarks/browser/bookmark_index_unittest.cc View 1 2 3 4 5 3 chunks +21 lines, -17 lines 0 comments Download
M components/bookmarks/browser/bookmark_model_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/content_settings/core/browser/content_settings_utils.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M components/content_settings/core/common/content_settings_pattern.cc View 1 2 3 4 5 1 chunk +5 lines, -6 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_request_options.cc View 1 2 3 4 5 2 chunks +8 lines, -8 lines 0 comments Download
M components/device_event_log/device_event_log_impl_unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -6 lines 0 comments Download
M components/dom_distiller/standalone/content_extractor_browsertest.cc View 1 2 3 4 5 2 chunks +7 lines, -4 lines 0 comments Download
M components/favicon_base/fallback_icon_url_parser.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/history/core/browser/top_sites_database.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M components/metrics/net/network_metrics_provider.cc View 1 2 3 4 5 1 chunk +3 lines, -6 lines 0 comments Download
M components/metrics/serialization/metric_sample.cc View 1 2 3 4 5 5 chunks +9 lines, -9 lines 0 comments Download
M components/metrics/serialization/serialization_utils.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 5 2 chunks +6 lines, -10 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 4 5 1 chunk +3 lines, -6 lines 0 comments Download
M components/nacl/zygote/nacl_fork_delegate_linux.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M components/omnibox/browser/autocomplete_input.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M components/proximity_auth/bluetooth_util_chromeos.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M components/query_parser/snippet.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M components/query_parser/snippet_unittest.cc View 1 2 3 4 5 1 chunk +6 lines, -10 lines 0 comments Download
M components/search_engines/default_search_manager_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M components/search_engines/default_search_pref_migration.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M components/search_engines/default_search_pref_test_util.cc View 1 2 3 4 5 1 chunk +3 lines, -7 lines 0 comments Download
M components/search_engines/keyword_table.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/search_engines/template_url.cc View 1 2 3 4 5 1 chunk +5 lines, -8 lines 0 comments Download
M components/search_engines/template_url_service.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M components/search_engines/template_url_service_unittest.cc View 1 2 3 4 5 4 chunks +8 lines, -4 lines 0 comments Download
M components/storage_monitor/media_transfer_protocol_device_observer_linux.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M components/translate/core/browser/translate_accept_languages.cc View 1 2 3 4 5 1 chunk +8 lines, -14 lines 0 comments Download
M components/translate/core/browser/translate_manager.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M components/translate/core/browser/translate_prefs.cc View 1 2 3 4 5 3 chunks +7 lines, -8 lines 0 comments Download
M components/translate/core/common/translate_util.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M components/translate/core/language_detection/language_detection_util.cc View 1 2 3 4 5 2 chunks +14 lines, -16 lines 0 comments Download
M components/variations/net/variations_http_header_provider.cc View 1 2 3 4 5 1 chunk +7 lines, -8 lines 0 comments Download
M components/variations/study_filtering_unittest.cc View 1 2 3 4 5 3 chunks +17 lines, -19 lines 0 comments Download

Messages

Total messages: 45 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/1
5 years, 5 months ago (2015-07-18 06:01:08 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/46007)
5 years, 5 months ago (2015-07-18 06:15:53 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/20001
5 years, 5 months ago (2015-07-18 15:25:42 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/75004)
5 years, 5 months ago (2015-07-18 15:34:54 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/40001
5 years, 5 months ago (2015-07-19 20:34:36 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/111272)
5 years, 5 months ago (2015-07-19 20:45:27 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/60001
5 years, 5 months ago (2015-07-19 21:30:10 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/29573)
5 years, 5 months ago (2015-07-19 22:55:16 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/60001
5 years, 5 months ago (2015-07-20 05:17:24 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/29592)
5 years, 5 months ago (2015-07-20 06:40:39 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/60001
5 years, 5 months ago (2015-07-20 15:41:45 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/80001
5 years, 5 months ago (2015-07-20 15:48:01 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-20 16:36:17 UTC) #26
brettw
Weekend project part 1/2
5 years, 5 months ago (2015-07-20 17:57:09 UTC) #28
brettw
Sorry!
5 years, 5 months ago (2015-07-21 19:12:20 UTC) #30
brettw
ping?
5 years, 5 months ago (2015-07-22 22:08:15 UTC) #31
yzshen1
I just reviewed till autofill_field.cc. https://codereview.chromium.org/1234973004/diff/80001/components/autofill/core/browser/address.cc File components/autofill/core/browser/address.cc (right): https://codereview.chromium.org/1234973004/diff/80001/components/autofill/core/browser/address.cc#newcode135 components/autofill/core/browser/address.cc:135: base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL); should this ...
5 years, 5 months ago (2015-07-22 22:38:23 UTC) #32
yzshen1
I have reviewed till network_metrics_provider.cc and realized that almost everywere KEEP_WHITESPACE is used instead of ...
5 years, 5 months ago (2015-07-22 22:50:34 UTC) #33
brettw
Gargh, I messed up my copy-and-paste macro and ended up with a bunch of those ...
5 years, 5 months ago (2015-07-23 00:25:02 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234973004/100001
5 years, 5 months ago (2015-07-23 21:53:34 UTC) #36
brettw
New snap up. I audited the existing calls and converted most KEEP->TRIM. Take another look ...
5 years, 5 months ago (2015-07-23 21:53:44 UTC) #37
yzshen1
On 2015/07/23 21:53:44, brettw wrote: > New snap up. I audited the existing calls and ...
5 years, 5 months ago (2015-07-23 22:20:01 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-23 23:15:37 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234973004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1234973004/100001
5 years, 5 months ago (2015-07-23 23:16:58 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-23 23:23:54 UTC) #43
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/8be197d144c267c6a7c1b207a41267ac6c971712 Cr-Commit-Position: refs/heads/master@{#340209}
5 years, 5 months ago (2015-07-23 23:25:12 UTC) #44
brettw
5 years, 4 months ago (2015-07-31 23:51:40 UTC) #45
Message was sent while issue was closed.
LGTM, thanks!

Powered by Google App Engine
This is Rietveld 408576698