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

Issue 2889273003: Fix some non-const ref function argument types. (Closed)

Created:
3 years, 7 months ago by Bence
Modified:
3 years, 7 months ago
CC:
chromium-reviews, rsleevi+watch_chromium.org, certificate-transparency-chrome_googlegroups.com, cbentzel+watch_chromium.org, Eran Messeri, net-reviews_chromium.org, martijn+crwatch_martijnc.be, tbansal+watch-nqe_chromium.org, gavinp+disk_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix some non-const ref function argument types. The style guide does not allow passing arguments by non-const reference. This CL changes a few occurrences (found by git cl lint) to const ref where the instance is not mutated, and to pointer where it is. Review-Url: https://codereview.chromium.org/2889273003 Cr-Commit-Position: refs/heads/master@{#473642} Committed: https://chromium.googlesource.com/chromium/src/+/6a0348c405f6c72bf6ce977d31b15f0b2c8ed36f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -47 lines) Patch
M net/cert/multi_log_ct_verifier_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/backend_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_cache_unittest.cc View 7 chunks +12 lines, -12 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 3 chunks +11 lines, -11 lines 0 comments Download
M net/nqe/observation_buffer.h View 5 chunks +9 lines, -9 lines 0 comments Download
M net/quic/chromium/quic_stream_factory_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/ssl/ssl_config_unittest.cc View 2 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
Bence
Zhongyi: PTAL. Thank you.
3 years, 7 months ago (2017-05-20 00:20:17 UTC) #6
Zhongyi Shi
Nice! lgtm
3 years, 7 months ago (2017-05-22 17:06:32 UTC) #7
Bence
Ryan: PTAL. Thanks. Zhongyi: Thank you for the review.
3 years, 7 months ago (2017-05-22 17:07:35 UTC) #9
Ryan Sleevi
lgtm
3 years, 7 months ago (2017-05-22 17:12:01 UTC) #11
Bence
On 2017/05/22 17:12:01, Ryan Sleevi wrote: > lgtm Thanks.
3 years, 7 months ago (2017-05-22 17:23:41 UTC) #13
Ryan Hamilton
lgtm
3 years, 7 months ago (2017-05-22 17:23:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889273003/1
3 years, 7 months ago (2017-05-22 17:24:01 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 18:56:41 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6a0348c405f6c72bf6ce977d31b1...

Powered by Google App Engine
This is Rietveld 408576698