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

Unified Diff: net/url_request/url_request_job_manager.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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.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_manager.cc
diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc
index 0fe557b14418b54ee437845aa9b481973f9e3adb..6fcff221616ffad4efffad9a457197c6d4d070c3 100644
--- a/net/url_request/url_request_job_manager.cc
+++ b/net/url_request/url_request_job_manager.cc
@@ -128,6 +128,13 @@ URLRequestJob* URLRequestJobManager::MaybeInterceptRedirect(
if (job)
return job;
}
+
+ URLRequestJob* job =
+ request->context()->job_factory()->MaybeInterceptRedirect(
+ request, network_delegate, location);
+ if (job)
+ return job;
+
return NULL;
}
@@ -154,6 +161,13 @@ URLRequestJob* URLRequestJobManager::MaybeInterceptResponse(
if (job)
return job;
}
+
+ URLRequestJob* job =
+ request->context()->job_factory()->MaybeInterceptResponse(
+ request, network_delegate);
+ if (job)
+ return job;
+
return NULL;
}
« no previous file with comments | « net/url_request/url_request_job_factory_impl.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