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

Unified Diff: net/http/http_stream_factory_impl_job.h

Issue 18546008: [SPDY] Use WeakPtr<SpdySession> everywhere but SpdySessionPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test, other minor formatting/comment changes Created 7 years, 5 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/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl_job.h
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h
index 6e34f5fe08581503073fecb92e8a658a56d3c204..2c2eb3495860690971188831303fe9672c670bec 100644
--- a/net/http/http_stream_factory_impl_job.h
+++ b/net/http/http_stream_factory_impl_job.h
@@ -307,10 +307,10 @@ class HttpStreamFactoryImpl::Job {
int num_streams_;
// Initialized when we create a new SpdySession.
- scoped_refptr<SpdySession> new_spdy_session_;
+ base::WeakPtr<SpdySession> new_spdy_session_;
// Initialized when we have an existing SpdySession.
- scoped_refptr<SpdySession> existing_spdy_session_;
+ base::WeakPtr<SpdySession> existing_spdy_session_;
// Only used if |new_spdy_session_| is non-NULL.
bool spdy_session_direct_;
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698