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

Unified Diff: net/tools/quic/quic_simple_server_stream.h

Issue 2093553004: Reduce SpdyHeaderBlock copies with move semantics in shared code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove non-shared files (into a separate CL). Created 4 years, 6 months 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/quic_spdy_stream_test.cc ('k') | net/tools/quic/quic_simple_server_stream.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_stream.h
diff --git a/net/tools/quic/quic_simple_server_stream.h b/net/tools/quic/quic_simple_server_stream.h
index ca39e5007a285a6e221b9112ce144ae8a254bb6e..e270ed65f17c178493c36bd1dd6d6fa2dee84c4c 100644
--- a/net/tools/quic/quic_simple_server_stream.h
+++ b/net/tools/quic/quic_simple_server_stream.h
@@ -64,11 +64,11 @@ class QuicSimpleServerStream : public QuicSpdyStream {
// for the body.
void SendNotFoundResponse();
- void SendHeadersAndBody(const SpdyHeaderBlock& response_headers,
+ void SendHeadersAndBody(SpdyHeaderBlock response_headers,
base::StringPiece body);
- void SendHeadersAndBodyAndTrailers(const SpdyHeaderBlock& response_headers,
+ void SendHeadersAndBodyAndTrailers(SpdyHeaderBlock response_headers,
base::StringPiece body,
- const SpdyHeaderBlock& response_trailers);
+ SpdyHeaderBlock response_trailers);
SpdyHeaderBlock* request_headers() { return &request_headers_; }
« no previous file with comments | « net/quic/quic_spdy_stream_test.cc ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698