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

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

Issue 1321723009: Protocol handlers should be able to register a service worker. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test Created 5 years, 3 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/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 1644592758b718833a987b235ef7032982291fd4..ee8637e4e5206ed7247064b5011a18668b1f65c1 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -220,6 +220,7 @@ class CONTENT_EXPORT ContentBrowserClient {
// Returns whether a specified URL is handled by the embedder's internal
// protocol handlers.
virtual bool IsHandledURL(const GURL& url);
+ virtual GURL GetHandlerFor(BrowserContext* browser_context, const GURL& url);
// Returns whether the given process is allowed to commit |url|. This is a
// more conservative check than IsSuitableHost, since it is used after a
« no previous file with comments | « content/browser/service_worker/service_worker_request_handler.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698