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

Issue 1346943004: Cleanup: Pass std::string as const reference from net/ (Closed)

Created:
5 years, 3 months ago by ki.stfu
Modified:
5 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, mmenke
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 net/ Passing std::string by reference can prevent extra copying of object. BUG=367418 TEST= R=cbentzel@chromium.org,davidben@chromium.org,mef@chromium.org Committed: https://crrev.com/144dce1fa66f5ad93e6f6d6cedcdf191d2247ed6 Cr-Commit-Position: refs/heads/master@{#350081}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -41 lines) Patch
M net/base/ip_pattern_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/prioritized_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/internal/parse_certificate_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/multi_log_ct_verifier_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mdns_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mock_mdns_socket_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/mock_mdns_socket_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/dns/serial_worker_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/filter/sdch_filter_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_cache_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/crypto/crypto_server_config_protobuf.h View 1 chunk +1 line, -3 lines 0 comments Download
M net/quic/quic_stream_sequencer.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_stream_sequencer.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/tcp_server_socket_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/spdy/spdy_alt_svc_wire_format_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_pinnable_buffer_piece_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_prefixed_buffer_reader_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_protocol.h View 1 chunk +1 line, -1 line 0 comments Download
M net/test/embedded_test_server/tcp_listen_socket_unittest.h View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/flip_server/spdy_util.h View 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/flip_server/spdy_util.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/tools/flip_server/streamer_interface.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/tools/quic/quic_server_session.h View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/test_tools/quic_test_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/quic/test_tools/quic_test_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/tld_cleanup/tld_cleanup_util_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/udp/udp_socket_perftest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/udp/udp_socket_unittest.cc View 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
ki.stfu
5 years, 3 months ago (2015-09-20 20:14:30 UTC) #1
cbentzel
On 2015/09/20 20:14:30, ki.stfu wrote: Mostly looks good, but adding rch for the QUIC changes ...
5 years, 3 months ago (2015-09-21 11:49:15 UTC) #2
ki.stfu
On 2015/09/21 11:49:15, cbentzel wrote: > On 2015/09/20 20:14:30, ki.stfu wrote: > > Mostly looks ...
5 years, 3 months ago (2015-09-21 14:55:00 UTC) #3
cbentzel
On 2015/09/21 14:55:00, ki.stfu wrote: > On 2015/09/21 11:49:15, cbentzel wrote: > > On 2015/09/20 ...
5 years, 3 months ago (2015-09-21 17:36:25 UTC) #5
Ryan Hamilton
On 2015/09/21 17:36:25, cbentzel wrote: > On 2015/09/21 14:55:00, ki.stfu wrote: > > On 2015/09/21 ...
5 years, 3 months ago (2015-09-21 22:52:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1346943004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1346943004/1
5 years, 3 months ago (2015-09-21 22:57:25 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-09-22 01:08:04 UTC) #9
commit-bot: I haz the power
5 years, 3 months ago (2015-09-22 01:08:37 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/144dce1fa66f5ad93e6f6d6cedcdf191d2247ed6
Cr-Commit-Position: refs/heads/master@{#350081}

Powered by Google App Engine
This is Rietveld 408576698