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

Unified Diff: net/spdy/spdy_test_util_spdy2.h

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 8 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
Index: net/spdy/spdy_test_util_spdy2.h
diff --git a/net/spdy/spdy_test_util_spdy2.h b/net/spdy/spdy_test_util_spdy2.h
index 2dcd999e7b114615de2ee5e3602957e41b42a02b..b770c60eec8fcc55310411f72938b2210930792c 100644
--- a/net/spdy/spdy_test_util_spdy2.h
+++ b/net/spdy/spdy_test_util_spdy2.h
@@ -374,12 +374,10 @@ class SpdySessionDependencies {
class SpdyURLRequestContext : public URLRequestContext {
public:
SpdyURLRequestContext();
+ virtual ~SpdyURLRequestContext();
MockClientSocketFactory& socket_factory() { return socket_factory_; }
- protected:
- virtual ~SpdyURLRequestContext();
-
private:
MockClientSocketFactory socket_factory_;
net::URLRequestContextStorage storage_;

Powered by Google App Engine
This is Rietveld 408576698