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

Unified Diff: chrome/renderer/notification_provider.cc

Issue 1383001: Hook up extension apps notification permission, take two (Closed)
Patch Set: pre commit Created 10 years, 9 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 | « chrome/renderer/notification_provider.h ('k') | webkit/database/database_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/notification_provider.cc
diff --git a/chrome/renderer/notification_provider.cc b/chrome/renderer/notification_provider.cc
index 1bcefeeac60bcc01db63e21b633fe8073f3ad160..45fb7b93886148dc19c19c5edaffb30d2a5e4a30 100644
--- a/chrome/renderer/notification_provider.cc
+++ b/chrome/renderer/notification_provider.cc
@@ -52,12 +52,11 @@ void NotificationProvider::objectDestroyed(
}
WebNotificationPresenter::Permission NotificationProvider::checkPermission(
- const WebURL& url, WebDocument* document) {
+ const WebURL& url) {
int permission;
Send(new ViewHostMsg_CheckNotificationPermission(
view_->routing_id(),
url,
- document ? UTF16ToASCII(document->applicationID()) : "",
&permission));
return static_cast<WebNotificationPresenter::Permission>(permission);
}
« no previous file with comments | « chrome/renderer/notification_provider.h ('k') | webkit/database/database_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698