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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.cc

Issue 11265013: [Android] Use resource throttle instead of HandleExternalProtocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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: content/browser/renderer_host/resource_dispatcher_host_impl.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.cc b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
index 60a3c9f89b0fa983d0011475fc1776a8f521ef91..f050138eb8224d4c4d7528b5315dbb83083b3ccf 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
@@ -659,6 +659,10 @@ bool ResourceDispatcherHostImpl::AcceptSSLClientCertificateRequest(
bool ResourceDispatcherHostImpl::HandleExternalProtocol(ResourceLoader* loader,
const GURL& url) {
+#if defined OS(ANDROID)
+ return false;
joth 2012/10/24 18:47:55 Did you mean this? you've changed delegate_->Handl
mkosiba (inactive) 2012/10/25 09:02:12 Do what Joth says ;)
John Knottenbelt 2012/10/25 16:17:27 Yes, I agree. Sorry, this was accidentally left in
+#endif
+
if (!delegate_)
return false;
@@ -674,6 +678,7 @@ bool ResourceDispatcherHostImpl::HandleExternalProtocol(ResourceLoader* loader,
delegate_->HandleExternalProtocol(url, info->GetChildID(),
info->GetRouteID());
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698