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

Issue 1355983002: Cleanup: Pass std::string as const reference from components/ (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 2 months ago
CC:
chromium-reviews, eme-reviews_chromium.org, gcasto+watchlist_chromium.org, maxbogue+watch_chromium.org, mkwst+watchlist-passwords_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, tim+watch_chromium.org, tracing+reviews_chromium.org, vabr+watchlist_chromium.org, wfh+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Pass std::string as const reference from components/ Passing std::string by reference can prevent extra copying of object. BUG=367418 TEST= R=blundell@chromium.org,jochen@chromium.org,sdefresne@chromium.org Committed: https://crrev.com/939799a4b72e978038109fce97bf043b988428b4 Cr-Commit-Position: refs/heads/master@{#351023}

Patch Set 1 #

Patch Set 2 : Fix a conflict with {Fake,}GCMStatsRecorder::RecordCheckinFailure #

Patch Set 3 : Revert to PS1 #

Patch Set 4 : Rebase against ToT #

Patch Set 5 : Revert to PS2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -60 lines) Patch
M components/cdm/renderer/widevine_key_systems.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/certificate_transparency/log_proof_fetcher_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/core/dom_distiller_store_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M components/dom_distiller/core/url_utils_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_account_tracker_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/invalidation/impl/gcm_network_channel_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/metrics/cloned_install_detector.h View 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/cloned_install_detector.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/network_hints/renderer/dns_prefetch_queue.h View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/search_engines/default_search_manager_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/search_engines/template_url_parser_unittest.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/signin/core/browser/about_signin_internals.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/signin/core/browser/account_fetcher_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/signin/core/browser/account_tracker_service_unittest.cc View 1 chunk +7 lines, -7 lines 0 comments Download
M components/signin/core/common/profile_management_switches.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_info.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/device_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/tab_node_pool.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/tab_node_pool.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/test_runner/test_runner.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 3 6 chunks +6 lines, -6 lines 0 comments Download
M components/tracing/trace_config_file.h View 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/trace_config_file.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/url_matcher/url_matcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/user_manager/user_manager_base.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/user_prefs/tracked/tracked_preferences_migration_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/variations/service/variations_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (7 generated)
ki.stfu
5 years, 3 months ago (2015-09-20 20:06:54 UTC) #1
vabr (Chromium)
components/password_manager/core/browser/login_database_unittest.cc LGTM
5 years, 3 months ago (2015-09-21 06:46:23 UTC) #3
sdefresne
lgtm
5 years, 3 months ago (2015-09-21 07:17:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355983002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355983002/1
5 years, 3 months ago (2015-09-21 07:47:59 UTC) #6
commit-bot: I haz the power
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/99805)
5 years, 3 months ago (2015-09-21 07:56:04 UTC) #8
jochen (gone - plz use gerrit)
please ensure that you have green trybots before sending large refactoring CLs out for review
5 years, 3 months ago (2015-09-21 15:02:27 UTC) #9
blundell
On 2015/09/21 15:02:27, jochen wrote: > please ensure that you have green trybots before sending ...
5 years, 3 months ago (2015-09-21 15:12:11 UTC) #10
ki.stfu
On 2015/09/21 15:12:11, blundell wrote: > On 2015/09/21 15:02:27, jochen wrote: > > please ensure ...
5 years, 3 months ago (2015-09-21 18:41:18 UTC) #11
ki.stfu
On 2015/09/21 18:41:18, ki.stfu wrote: > On 2015/09/21 15:12:11, blundell wrote: > > On 2015/09/21 ...
5 years, 3 months ago (2015-09-21 18:46:35 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/1355983002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355983002/40001
5 years, 3 months ago (2015-09-24 18:50:34 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/125176) android_compile_dbg on ...
5 years, 3 months ago (2015-09-24 19:08:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355983002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355983002/80001
5 years, 2 months ago (2015-09-28 03:34:32 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-09-28 04:41:28 UTC) #20
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 04:42:15 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/939799a4b72e978038109fce97bf043b988428b4
Cr-Commit-Position: refs/heads/master@{#351023}

Powered by Google App Engine
This is Rietveld 408576698