diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-02 23:49:02 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-02 23:49:02 +0000 |
commit | 34eec7ffe3c9c05f58069ea4afce7e2d89843ac9 (patch) | |
tree | 36ee8914ed9d7b8ee47ba813a1ac67a0caf8ec0e /content/renderer/notification_provider.cc | |
parent | d1ab97933260754f589f719dcb518525f39436a2 (diff) | |
download | chromium_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.cc')
-rw-r--r-- | content/renderer/notification_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/notification_provider.cc b/content/renderer/notification_provider.cc index c70bc76..ffde3b9 100644 --- a/content/renderer/notification_provider.cc +++ b/content/renderer/notification_provider.cc @@ -57,11 +57,11 @@ void NotificationProvider::objectDestroyed( } WebNotificationPresenter::Permission NotificationProvider::checkPermission( - const WebURL& url) { + const WebURL& origin) { int permission; Send(new DesktopNotificationHostMsg_CheckPermission( routing_id(), - url, + origin, &permission)); return static_cast<WebNotificationPresenter::Permission>(permission); } |