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

Unified Diff: net/test/spawner_communicator.h

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize to NULL Created 8 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/spdy_test_util_spdy3.h ('k') | net/test/spawner_communicator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/spawner_communicator.h
diff --git a/net/test/spawner_communicator.h b/net/test/spawner_communicator.h
index 42afb41c6547b78cc8c70d96908f0cdb8d3af993..061324de799f68e658d48db4f39f90dd79ab6372 100644
--- a/net/test/spawner_communicator.h
+++ b/net/test/spawner_communicator.h
@@ -135,6 +135,8 @@ class SpawnerCommunicator : public net::URLRequest::Delegate {
// outstanding tasks when |this| is deleted.
base::WeakPtrFactory<SpawnerCommunicator> weak_factory_;
+ scoped_ptr<URLRequestContext> context_;
+
// The current (in progress) request, or NULL.
scoped_ptr<URLRequest> cur_request_;
@@ -147,4 +149,3 @@ class SpawnerCommunicator : public net::URLRequest::Delegate {
} // namespace net
#endif // NET_TEST_SPAWNER_COMMUNICATOR_H_
-
« no previous file with comments | « net/spdy/spdy_test_util_spdy3.h ('k') | net/test/spawner_communicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698