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

Unified Diff: public/web/WebNotificationPresenter.h

Issue 393863002: Switch Blink to the new Web Notifications permission path. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/web/NotificationPresenterImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebNotificationPresenter.h
diff --git a/public/web/WebNotificationPresenter.h b/public/web/WebNotificationPresenter.h
index 5ceb2135170c5288493a0a2fbe98ae1703303acf..b7463ce4982c1c1aceda5948c2d6099414750c4c 100644
--- a/public/web/WebNotificationPresenter.h
+++ b/public/web/WebNotificationPresenter.h
@@ -63,12 +63,6 @@ public:
// Checks the permission level for the given origin.
virtual Permission checkPermission(const WebSecurityOrigin&) = 0;
-
- // Requests permission for a given origin. This operation is asynchronous and the callback provided
- // will be invoked when the permission decision is made. Callback pointer must remain
- // valid until called.
- // FIXME: Remove once permission requests will be routed through the NotificationPermissionClient.
- virtual void requestPermission(const WebSecurityOrigin&, WebNotificationPermissionCallback*) = 0;
};
} // namespace blink
« no previous file with comments | « Source/web/NotificationPresenterImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698