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

Unified Diff: android_webview/browser/net/aw_url_request_job_factory.cc

Issue 11227017: Remove the mutation functions interfaces from URLRequestJobFactory. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Android Webview interfaces; also a long awaited rebase. Created 7 years, 10 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: android_webview/browser/net/aw_url_request_job_factory.cc
diff --git a/android_webview/browser/net/aw_url_request_job_factory.cc b/android_webview/browser/net/aw_url_request_job_factory.cc
index ad3dbdb492ace0495bfddf40f707fedff1e7c371..75779e6f226108037e3d3b49eb2c69ebc81f269e 100644
--- a/android_webview/browser/net/aw_url_request_job_factory.cc
+++ b/android_webview/browser/net/aw_url_request_job_factory.cc
@@ -57,16 +57,6 @@ URLRequestJob* AwURLRequestJobFactory::MaybeCreateJobWithProtocolHandler(
request, network_delegate, net::ERR_UNKNOWN_URL_SCHEME);
}
-bool AwURLRequestJobFactory::SetProtocolHandler(
- const std::string& scheme,
- ProtocolHandler* protocol_handler) {
- return next_factory_->SetProtocolHandler(scheme, protocol_handler);
-}
-
-void AwURLRequestJobFactory::AddInterceptor(Interceptor* interceptor) {
- next_factory_->AddInterceptor(interceptor);
-}
-
URLRequestJob* AwURLRequestJobFactory::MaybeCreateJobWithInterceptor(
URLRequest* request, NetworkDelegate* network_delegate) const {
return next_factory_->MaybeCreateJobWithInterceptor(
@@ -87,4 +77,14 @@ URLRequestJob* AwURLRequestJobFactory::MaybeInterceptResponse(
return next_factory_->MaybeInterceptResponse(request, network_delegate);
}
+bool AwURLRequestJobFactory::SetProtocolHandler(
+ const std::string& scheme,
+ ProtocolHandler* protocol_handler) {
+ return next_factory_->SetProtocolHandler(scheme, protocol_handler);
+}
+
+void AwURLRequestJobFactory::AddInterceptor(Interceptor* interceptor) {
+ next_factory_->AddInterceptor(interceptor);
+}
+
} // namespace android_webview
« no previous file with comments | « android_webview/browser/net/aw_url_request_job_factory.h ('k') | chrome/browser/custom_handlers/protocol_handler_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698