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

Unified Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 11265013: [Android] Use resource throttle instead of HandleExternalProtocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android webview compilation error (adjust header). 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/public/browser/resource_dispatcher_host_delegate.h
diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h
index 81b7209a3acb5975bb25abe64ad37c1d9a2ee64b..4205b2a2fd548b4b6dc79fc3b497c7722947d4a0 100644
--- a/content/public/browser/resource_dispatcher_host_delegate.h
+++ b/content/public/browser/resource_dispatcher_host_delegate.h
@@ -95,8 +95,10 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate {
virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
net::AuthChallengeInfo* auth_info, net::URLRequest* request);
- // Launches the url for the given tab.
- virtual void HandleExternalProtocol(const GURL& url,
+ // Launches the url for the given tab. Returns true if an attempt to handle
+ // the url was made, e.g. by launching an app. Note that this does not
+ // guarantee that the app successfully handled it.
+ virtual bool HandleExternalProtocol(const GURL& url,
int child_id,
int route_id);

Powered by Google App Engine
This is Rietveld 408576698