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

Unified Diff: net/spdy/chromium/multiplexed_http_stream.cc

Issue 2334943002: Add a new QuicChromiumClientSession::Handle class (Closed)
Patch Set: fixes Created 3 years, 7 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/chromium/multiplexed_http_stream.h ('k') | net/spdy/chromium/multiplexed_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/chromium/multiplexed_http_stream.cc
diff --git a/net/spdy/chromium/multiplexed_http_stream.cc b/net/spdy/chromium/multiplexed_http_stream.cc
index 985f643025be755c07076d16a59c1c2f74f14a7d..41045ff72bb11c2f8040de175c0a251090fd08e9 100644
--- a/net/spdy/chromium/multiplexed_http_stream.cc
+++ b/net/spdy/chromium/multiplexed_http_stream.cc
@@ -8,21 +8,22 @@
namespace net {
-MultiplexedHttpStream::MultiplexedHttpStream(MultiplexedSessionHandle session)
- : session_(session) {}
+MultiplexedHttpStream::MultiplexedHttpStream(
+ std::unique_ptr<MultiplexedSessionHandle> session)
+ : session_(std::move(session)) {}
MultiplexedHttpStream::~MultiplexedHttpStream() {}
bool MultiplexedHttpStream::GetRemoteEndpoint(IPEndPoint* endpoint) {
- return session_.GetRemoteEndpoint(endpoint);
+ return session_->GetRemoteEndpoint(endpoint);
}
void MultiplexedHttpStream::GetSSLInfo(SSLInfo* ssl_info) {
- session_.GetSSLInfo(ssl_info);
+ session_->GetSSLInfo(ssl_info);
}
void MultiplexedHttpStream::SaveSSLInfo() {
- session_.SaveSSLInfo();
+ session_->SaveSSLInfo();
}
void MultiplexedHttpStream::GetSSLCertRequestInfo(
@@ -36,7 +37,7 @@ Error MultiplexedHttpStream::GetTokenBindingSignature(
crypto::ECPrivateKey* key,
TokenBindingType tb_type,
std::vector<uint8_t>* out) {
- return session_.GetTokenBindingSignature(key, tb_type, out);
+ return session_->GetTokenBindingSignature(key, tb_type, out);
}
void MultiplexedHttpStream::Drain(HttpNetworkSession* session) {
« no previous file with comments | « net/spdy/chromium/multiplexed_http_stream.h ('k') | net/spdy/chromium/multiplexed_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698