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

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

Issue 8312005: Ignore paths when matching patterns for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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
« no previous file with comments | « content/common/desktop_notification_messages.h ('k') | content/renderer/notification_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8ec5549b05bc2f4e4dddfc2283019ea316c1e4f3..f1a0a340bcd1c1f6f01183b3e7e46a36ed99eb44 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -252,7 +252,8 @@ class ContentBrowserClient {
virtual WebKit::WebNotificationPresenter::Permission
CheckDesktopNotificationPermission(
const GURL& source_url,
- const content::ResourceContext& context) = 0;
+ const content::ResourceContext& context,
+ int render_process_id) = 0;
// Show a desktop notification. If |worker| is true, the request came from an
// HTML5 web worker, otherwise, it came from a renderer.
@@ -272,9 +273,10 @@ class ContentBrowserClient {
// type.
// This is called on the IO thread.
virtual bool CanCreateWindow(
- const GURL& source_url,
+ const GURL& source_origin,
WindowContainerType container_type,
- const content::ResourceContext& context) = 0;
+ const content::ResourceContext& context,
+ int render_process_id) = 0;
// Returns a title string to use in the task manager for a process host with
// the given URL, or the empty string to fall back to the default logic.
« no previous file with comments | « content/common/desktop_notification_messages.h ('k') | content/renderer/notification_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698