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

Issue 1048483002: Pass QuicCryptoServerConfig by pointer instead of reference. (Closed)

Created:
5 years, 9 months ago by Ryan Hamilton
Modified:
5 years, 8 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

Pass QuicCryptoServerConfig by pointer instead of reference. QuicCryptoServerStream was storing const reference to the config, which makes the interface bug-prone because it's not clear for the caller that the config must outlive the stream. Merge internal change: 89542072 R=rtenneti@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -16 lines) Patch
M net/quic/test_tools/mock_quic_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M net/quic/test_tools/mock_quic_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_dispatcher.h View 3 chunks +5 lines, -3 lines 0 comments Download
M net/tools/quic/quic_dispatcher.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/tools/quic/quic_dispatcher_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/tools/quic/quic_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_server_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/quic_simple_server_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/test_tools/mock_quic_dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/quic/test_tools/mock_quic_dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Ryan Hamilton
5 years, 9 months ago (2015-03-28 04:10:32 UTC) #1
ramant (doing other things)
5 years, 9 months ago (2015-03-28 13:50:39 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698