summaryrefslogtreecommitdiffstats
path: root/content/renderer/notification_provider.h
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 23:49:02 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 23:49:02 +0000
commit34eec7ffe3c9c05f58069ea4afce7e2d89843ac9 (patch)
tree36ee8914ed9d7b8ee47ba813a1ac67a0caf8ec0e /content/renderer/notification_provider.h
parentd1ab97933260754f589f719dcb518525f39436a2 (diff)
downloadchromium_src-34eec7ffe3c9c05f58069ea4afce7e2d89843ac9.zip
chromium_src-34eec7ffe3c9c05f58069ea4afce7e2d89843ac9.tar.gz
chromium_src-34eec7ffe3c9c05f58069ea4afce7e2d89843ac9.tar.bz2
Ignore paths when matching patterns for extensions.
BUG=94399 TEST=lots Review URL: http://codereview.chromium.org/8312005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/notification_provider.h')
-rw-r--r--content/renderer/notification_provider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/notification_provider.h b/content/renderer/notification_provider.h
index 6204643..2d7188e 100644
--- a/content/renderer/notification_provider.h
+++ b/content/renderer/notification_provider.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -34,7 +34,7 @@ class NotificationProvider : public content::RenderViewObserver,
virtual void cancel(const WebKit::WebNotification& proxy);
virtual void objectDestroyed(const WebKit::WebNotification& proxy);
virtual WebKit::WebNotificationPresenter::Permission checkPermission(
- const WebKit::WebURL& url);
+ const WebKit::WebURL& origin);
virtual void requestPermission(const WebKit::WebSecurityOrigin& origin,
WebKit::WebNotificationPermissionCallback* callback);