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

Issue 1107943002: Replace const by value return values to const by ref in net/socket/tcp_listen_socket_unittest.h (Closed)

Created:
5 years, 8 months ago by b.siddharth
Modified:
5 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace const by value return values to const by ref in net/socket/tcp_listen_socket_unittest.h This CL turns const by value return values into const by ref Replacing const value by a const ref when a member variable is safe, because the member variable will live at least as long as the temporary object returned now. It can also be more efficient, because returning a ref can spare copying. BUG=393155 Committed: https://crrev.com/2cfa7f9a3496959dcf3785514d1f8fc89d471fb4 Cr-Commit-Position: refs/heads/master@{#327680}

Patch Set 1 #

Patch Set 2 : Fixed the trybot issue. #

Patch Set 3 : Added AUTHOR file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M AUTHORS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/tcp_listen_socket_unittest.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (10 generated)
b.siddharth
Please have a look, Thanks.
5 years, 8 months ago (2015-04-27 13:16:16 UTC) #2
mattm
I think the commit description could be simplified/clarified. The summary line is pretty vague even ...
5 years, 8 months ago (2015-04-27 21:36:47 UTC) #3
b.siddharth
On 2015/04/27 21:36:47, mattm wrote: > I think the commit description could be simplified/clarified. The ...
5 years, 8 months ago (2015-04-28 07:54:48 UTC) #4
b.siddharth
All the changes have been done, Please review. Thanks.
5 years, 7 months ago (2015-04-29 10:25:54 UTC) #6
b.siddharth
@mattm : Updated the descrption. Please have a look again. Thanks.
5 years, 7 months ago (2015-04-29 18:37:14 UTC) #7
mattm
lgtm
5 years, 7 months ago (2015-04-29 19:34:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107943002/1
5 years, 7 months ago (2015-04-29 20:34:22 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/60022)
5 years, 7 months ago (2015-04-29 20:43:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107943002/20001
5 years, 7 months ago (2015-04-30 07:15:53 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/60163)
5 years, 7 months ago (2015-04-30 07:24:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107943002/40001
5 years, 7 months ago (2015-04-30 07:36:38 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-30 08:04:39 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/2cfa7f9a3496959dcf3785514d1f8fc89d471fb4 Cr-Commit-Position: refs/heads/master@{#327680}
5 years, 7 months ago (2015-04-30 08:05:38 UTC) #22
earlenemccullough22
5 years, 7 months ago (2015-05-04 19:43:00 UTC) #24
earlenemccullough22
5 years, 7 months ago (2015-05-04 19:43:03 UTC) #25
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698