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

Unified Diff: net/tools/quic/quic_simple_server_session_test.cc

Issue 2588043002: Pass value and use std::move instead of const reference for ack listeners. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/quic_simple_server_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_session_test.cc
diff --git a/net/tools/quic/quic_simple_server_session_test.cc b/net/tools/quic/quic_simple_server_session_test.cc
index b674915a1a5421dfaf939844e81bf61a0f9d8ebd..d857bee9455471fdd6622f8d59205f8654c9acbe 100644
--- a/net/tools/quic/quic_simple_server_session_test.cc
+++ b/net/tools/quic/quic_simple_server_session_test.cc
@@ -84,7 +84,7 @@ class MockQuicHeadersStream : public QuicHeadersStream {
SpdyHeaderBlock headers,
bool fin,
SpdyPriority priority,
- const scoped_refptr<QuicAckListenerInterface>& ack_listener) override {
+ scoped_refptr<QuicAckListenerInterface> ack_listener) override {
return WriteHeadersMock(stream_id, headers, fin, priority, ack_listener);
}
MOCK_METHOD5(
@@ -139,7 +139,7 @@ class MockQuicConnectionWithSendStreamData : public MockQuicConnection {
QuicIOVector iov,
QuicStreamOffset offset,
bool fin,
- const scoped_refptr<QuicAckListenerInterface>& listern));
+ scoped_refptr<QuicAckListenerInterface> listern));
};
class QuicSimpleServerSessionPeer {
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/quic_simple_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698