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

Unified Diff: net/quic/quic_spdy_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_chromium_client_stream.cc ('k') | net/quic/quic_spdy_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_stream.h
diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h
index 01cb647ba8ca86eb147a9dc39d85e021bb6493fd..c566165f67d2570e5308693fe020116dee1e2630 100644
--- a/net/quic/quic_spdy_stream.h
+++ b/net/quic/quic_spdy_stream.h
@@ -120,7 +120,7 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream {
// Writes the headers contained in |header_block| to the dedicated
// headers stream.
- virtual size_t WriteHeaders(const SpdyHeaderBlock& header_block,
+ virtual size_t WriteHeaders(SpdyHeaderBlock header_block,
bool fin,
QuicAckListenerInterface* ack_notifier_delegate);
@@ -131,7 +131,7 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream {
// Writes the trailers contained in |trailer_block| to the dedicated
// headers stream. Trailers will always have the FIN set.
- virtual size_t WriteTrailers(const SpdyHeaderBlock& trailer_block,
+ virtual size_t WriteTrailers(SpdyHeaderBlock trailer_block,
QuicAckListenerInterface* ack_notifier_delegate);
// Marks |bytes_consumed| of the headers data as consumed.
« no previous file with comments | « net/quic/quic_chromium_client_stream.cc ('k') | net/quic/quic_spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698