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

Unified Diff: content/shell/shell_content_browser_client.cc

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/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index 18aae4ee82cea662e7f08f9db6b13cd3d9d73a26..1379e828f8c54393ff9d258a2448a08871ea9abf 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -198,8 +198,9 @@ void ShellContentBrowserClient::RequestDesktopNotificationPermission(
WebKit::WebNotificationPresenter::Permission
ShellContentBrowserClient::CheckDesktopNotificationPermission(
- const GURL& source_url,
- const content::ResourceContext& context) {
+ const GURL& source_origin,
+ const content::ResourceContext& context,
+ int render_process_id) {
return WebKit::WebNotificationPresenter::PermissionAllowed;
}
@@ -217,9 +218,10 @@ void ShellContentBrowserClient::CancelDesktopNotification(
}
bool ShellContentBrowserClient::CanCreateWindow(
- const GURL& source_url,
+ const GURL& origin,
WindowContainerType container_type,
- const content::ResourceContext& context) {
+ const content::ResourceContext& context,
+ int render_process_id) {
return true;
}
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698