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

Issue 1358783002: Cleanup: Pass std::string as const reference from chrome/ (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 2 months ago
CC:
achuith+watch_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, davemoore+watch_chromium.org, dbeam+watch-ntp_chromium.org, David Black, devtools-reviews_chromium.org, dhollowa+watch_chromium.org, donnd+watch_chromium.org, dougw+watch_chromium.org, dzhioev+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, felt, groby+spellwatch_chromium.org, grt+watch_chromium.org, Jered, jfweitz+watch_chromium.org, kalyank, kinuko+fileapi, kmadhusu+watch_chromium.org, markusheintz_, maxbogue+watch_chromium.org, mcasas+watch_chromium.org, melevin+watch_chromium.org, mlamouri+watch-notifications_chromium.org, native-client-reviews_googlegroups.com, nhiroki, nona+watch_chromium.org, oshima+watch_chromium.org, pedrosimonetti+watch_chromium.org, peter+watch_chromium.org, pfeldman, phoglund+watch_chromium.org, plaree+watch_chromium.org, posciak+watch_chromium.org, pvalenzuela+watch_chromium.org, raymes+watch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org, sadrul, samarth+watch_chromium.org, samuong+watch_chromium.org, shuchen+watch_chromium.org, skanuj+watch_chromium.org, tfarina, Lei Zhang, tim+watch_chromium.org, tnakamura+watch_chromium.org, tommycli, tzik, yurys, yusukes+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 chrome/ Passing std::string by reference can prevent extra copying of object. BUG=367418 TEST= R=jochen@chromium.org,sky@chromium.org,thakis@chromium.org Committed: https://crrev.com/f38f9317e240c37d884cae8c1a62d1baaa1c7231 Cr-Commit-Position: refs/heads/master@{#351009}

Patch Set 1 #

Patch Set 2 : Revert chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc #

Patch Set 3 : Revert chrome/browser/sync/test/integration/sessions_helper.[cc|h] #

Patch Set 4 : Rebase against ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -93 lines) Patch
M chrome/browser/android/history_report/delta_file_backend_leveldb.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/display/display_preferences.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/drive/file_system_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screens/hid_detection_screen.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/chromeos/login/screens/hid_detection_screen.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/preferences_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_oauth2_token_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_network_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/activity_log/activity_actions.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/notifications/notifications_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/system_indicator/system_indicator_manager.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/virtual_keyboard_private/chrome_virtual_keyboard_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_management_test_util.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/isolated_app_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/external_extension_browsertest.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/local_discovery/privet_url_fetcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/logging_chrome_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/media/webrtc_browsertest_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_galleries_scan_result_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_galleries_scan_result_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/net/sdch_browsertest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/pdf/pdf_extension_test.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_list_desktop_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_model_loader.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/speech/tts_controller_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellchecker/spellcheck_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_bookmark_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/logger_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tracing/crash_service_uploader.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tracing/crash_service_uploader.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_model.h View 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc View 1 2 3 1 chunk +193 lines, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler_browsertest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/icon_with_badge_image_source.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/icon_with_badge_image_source.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/capabilities.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/automation_extension.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/automation_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/importer/firefox_importer_unittest_utils_mac.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (9 generated)
ki.stfu
5 years, 3 months ago (2015-09-20 20:01:22 UTC) #1
jochen (gone - plz use gerrit)
try-run please
5 years, 3 months ago (2015-09-21 15:03:36 UTC) #2
tfarina
On Mon, Sep 21, 2015 at 12:03 PM, <jochen@chromium.org> wrote: > try-run please > Is ...
5 years, 3 months ago (2015-09-21 16:52:08 UTC) #3
tfarina
On Mon, Sep 21, 2015 at 12:03 PM, <jochen@chromium.org> wrote: > try-run please > Is ...
5 years, 3 months ago (2015-09-21 16:52:09 UTC) #4
Nico
i hit the 'cq dry run' button
5 years, 3 months ago (2015-09-21 16:54:54 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358783002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358783002/1
5 years, 3 months ago (2015-09-21 16:54:59 UTC) #7
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/71576) linux_chromium_gn_chromeos_rel on ...
5 years, 3 months ago (2015-09-21 17:07:45 UTC) #9
ki.stfu
On 2015/09/21 17:07:45, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 3 months ago (2015-09-21 22:08:52 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358783002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358783002/20001
5 years, 3 months ago (2015-09-21 23:52:31 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/43638)
5 years, 3 months ago (2015-09-22 00:25:25 UTC) #14
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-09-25 10:51:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358783002/40001
5 years, 2 months ago (2015-09-27 08:39:04 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/102893) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-09-27 08:40:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1358783002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1358783002/60001
5 years, 2 months ago (2015-09-27 13:39:20 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-09-27 14:44:50 UTC) #24
commit-bot: I haz the power
5 years, 2 months ago (2015-09-27 14:45:49 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f38f9317e240c37d884cae8c1a62d1baaa1c7231
Cr-Commit-Position: refs/heads/master@{#351009}

Powered by Google App Engine
This is Rietveld 408576698