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

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

Issue 12988003: [Android] Fix remaining linker errors for components build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | « no previous file | android_webview/native/webview_native.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c14cd17b97ac9609bc676ffb21a5e909e9aae425..3777a81b7bdb1e781b24b0e8a5f932e874a27cae 100644
--- a/android_webview/browser/net/aw_url_request_job_factory.cc
+++ b/android_webview/browser/net/aw_url_request_job_factory.cc
@@ -47,10 +47,10 @@ URLRequestJob* AwURLRequestJobFactory::MaybeCreateJobWithProtocolHandler(
if (job)
return job;
- // If the URLRequestJobManager supports the scheme NULL should be returned
- // from this method. In that case the built in handlers in
- // URLRequestJobManager will then be used to create the job.
- if (net::URLRequestJobManager::GetInstance()->SupportsScheme(scheme))
+ // If URLRequest supports the scheme NULL should be returned from this method.
+ // In that case the built in handlers will then be used to create the job.
+ // NOTE(joth): See the assumption in IsHandledProtocol above.
+ if (net::URLRequest::IsHandledProtocol(scheme))
return NULL;
return new net::URLRequestErrorJob(
« no previous file with comments | « no previous file | android_webview/native/webview_native.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698