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

Unified Diff: net/url_request/url_request_job_unittest.cc

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_factory_impl_unittest.cc ('k') | net/url_request/url_request_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job_unittest.cc
diff --git a/net/url_request/url_request_job_unittest.cc b/net/url_request/url_request_job_unittest.cc
index 19c2395bae38da6ee4cd45795475e05a476605bd..983188e5d868b81dae0b509821e17ab051a8eb37 100644
--- a/net/url_request/url_request_job_unittest.cc
+++ b/net/url_request/url_request_job_unittest.cc
@@ -44,7 +44,7 @@ TEST(URLRequestJob, TransactionNotifiedWhenDone) {
context.set_http_transaction_factory(&network_layer);
net::TestDelegate d;
- net::TestURLRequest req(GURL(kGZip_Transaction.url), &d, &context);
+ net::TestURLRequest req(GURL(kGZip_Transaction.url), &d, &context, NULL);
AddMockTransaction(&kGZip_Transaction);
req.set_method("GET");
@@ -63,7 +63,7 @@ TEST(URLRequestJob, SyncTransactionNotifiedWhenDone) {
context.set_http_transaction_factory(&network_layer);
net::TestDelegate d;
- net::TestURLRequest req(GURL(kGZip_Transaction.url), &d, &context);
+ net::TestURLRequest req(GURL(kGZip_Transaction.url), &d, &context, NULL);
MockTransaction transaction(kGZip_Transaction);
transaction.test_mode = TEST_MODE_SYNC_ALL;
AddMockTransaction(&transaction);
« no previous file with comments | « net/url_request/url_request_job_factory_impl_unittest.cc ('k') | net/url_request/url_request_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698