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

Unified Diff: net/spdy/spdy_session.h

Issue 2096713002: Reduce SpdyHeaderBlock copies with move semantics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clear() does not work after all. 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/spdy/spdy_proxy_client_socket_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index c5eb613944a8096512d8305f7102069c4e6e6b91..3fca318107bfdec97c90eae4a9421917cb2a8821 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -372,11 +372,10 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
std::unique_ptr<SpdyBufferProducer> producer);
// Creates and returns a SYN frame for |stream_id|.
- std::unique_ptr<SpdySerializedFrame> CreateSynStream(
- SpdyStreamId stream_id,
- RequestPriority priority,
- SpdyControlFlags flags,
- const SpdyHeaderBlock& headers);
+ std::unique_ptr<SpdySerializedFrame> CreateSynStream(SpdyStreamId stream_id,
+ RequestPriority priority,
+ SpdyControlFlags flags,
+ SpdyHeaderBlock headers);
// Creates and returns a SpdyBuffer holding a data frame with the
// given data. May return NULL if stalled by flow control.
« no previous file with comments | « net/spdy/spdy_proxy_client_socket_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698