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

Issue 1354363002: Cleanup: Pass std::string as const reference from content/ (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 2 months ago
CC:
blink-worker-reviews_chromium.org, cc-bugs_chromium.org, chromium-reviews, cmumford, danakj+watch_chromium.org, darin-cc_chromium.org, dgrogan, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, jochen+watch_chromium.org, jsbell+idb_chromium.org, kalyank, kinuko+fileapi, kinuko+watch, mcasas+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nhiroki, nona+watch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, tzik, yusukes+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 content/ Passing std::string by reference can prevent extra copying of object. BUG=367418 TEST= R=jam@chromium.org,jochen@chromium.org,kinuko@chromium.org Committed: https://crrev.com/7cf10ca7017bed4b6fac3596b9b9080bf208c7d4 Cr-Commit-Position: refs/heads/master@{#351007}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -30 lines) Patch
M content/browser/device_monitor_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/fileapi/file_system_dir_url_request_job_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/p2p/socket_host_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/session_history_browsertest.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/speech/speech_recognition_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/speech/speech_recognizer_impl_android.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/speech/speech_recognizer_impl_android.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cc_messages_perftest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_url_parameters.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/content_browser_test_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/content_browser_test_utils.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/history_entry.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/rtc_peer_connection_handler.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/webrtc/media_stream_track_metrics_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/shell/browser/shell.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_mac.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (7 generated)
ki.stfu
5 years, 3 months ago (2015-09-20 20:07:42 UTC) #1
jochen (gone - plz use gerrit)
tryrun please
5 years, 3 months ago (2015-09-21 15:03:26 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354363002/1
5 years, 3 months ago (2015-09-21 19:04:51 UTC) #4
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-21 19:04:53 UTC) #6
ki.stfu
On 2015/09/21 15:03:26, jochen wrote: > tryrun please Sorry, I'm a newbie here. How I ...
5 years, 3 months ago (2015-09-21 19:18:13 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354363002/1
5 years, 3 months ago (2015-09-22 03:22:53 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-22 04:26:35 UTC) #11
ki.stfu
On 2015/09/22 04:26:35, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 2 months ago (2015-09-24 18:06:43 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/1354363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354363002/1
5 years, 2 months ago (2015-09-24 18:08:37 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-24 19:44:24 UTC) #16
Adam Rice
lgtm (but you still need lgtm from an OWNER). In C++ there exist edge-cases where ...
5 years, 2 months ago (2015-09-25 05:53:34 UTC) #17
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-09-25 11:17:38 UTC) #18
kinuko
lgtm
5 years, 2 months ago (2015-09-26 15:24:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1354363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1354363002/1
5 years, 2 months ago (2015-09-27 07:12:46 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-09-27 08:37:14 UTC) #22
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7cf10ca7017bed4b6fac3596b9b9080bf208c7d4 Cr-Commit-Position: refs/heads/master@{#351007}
5 years, 2 months ago (2015-09-27 08:38:05 UTC) #23
ki.stfu
On 2015/09/27 08:38:05, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
5 years, 2 months ago (2015-09-27 08:51:25 UTC) #24
Adam Rice
5 years, 2 months ago (2015-09-28 05:21:34 UTC) #25
Message was sent while issue was closed.
On 2015/09/27 at 08:51:25, ki.stfu wrote:
> Why it was committed if there are a few failures?

It looks to me like the tests passed the final time they were run.
It's not uncommon to see a few failures, because either something
is broken for unrelated reasons at HEAD, or because the tests
themselves are flaky.

Powered by Google App Engine
This is Rietveld 408576698