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

Unified Diff: net/url_request/url_request_test_util.h

Issue 12328072: Remove some calls to URLRequestContext::network_delegate(). (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Provide read-only access to network delegate for derived classes. Created 7 years, 9 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/url_request/url_request_job_unittest.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_util.h
diff --git a/net/url_request/url_request_test_util.h b/net/url_request/url_request_test_util.h
index f13ca7ce9bd2e81f9b97ea844e436f2cdf1ae63b..3986d5201c512b4da5fc1b80b35f4829f67109a3 100644
--- a/net/url_request/url_request_test_util.h
+++ b/net/url_request/url_request_test_util.h
@@ -107,8 +107,12 @@ class TestURLRequestContextGetter : public URLRequestContextGetter {
class TestURLRequest : public URLRequest {
public:
+ // todo(tedv): Remove this interface in favor of the one below it.
TestURLRequest(
const GURL& url, Delegate* delegate, TestURLRequestContext* context);
+ TestURLRequest(
+ const GURL& url, Delegate* delegate,
+ TestURLRequestContext* context, NetworkDelegate* network_delegate);
virtual ~TestURLRequest();
};
« no previous file with comments | « net/url_request/url_request_job_unittest.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698