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

Unified Diff: content/renderer/active_notification_tracker.cc

Issue 433433002: Remove code for the old Web Notification permission-path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/renderer/active_notification_tracker.h ('k') | content/renderer/notification_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/active_notification_tracker.cc
diff --git a/content/renderer/active_notification_tracker.cc b/content/renderer/active_notification_tracker.cc
index ff2d9cf656120fbb55c593c35ffde1870b65c0a5..2a958a5877d5f2c391dd739159b33cd4b19662dc 100644
--- a/content/renderer/active_notification_tracker.cc
+++ b/content/renderer/active_notification_tracker.cc
@@ -7,10 +7,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "third_party/WebKit/public/web/WebNotification.h"
-#include "third_party/WebKit/public/web/WebNotificationPermissionCallback.h"
using blink::WebNotification;
-using blink::WebNotificationPermissionCallback;
namespace content {
@@ -66,18 +64,4 @@ void ActiveNotificationTracker::Clear() {
}
}
-WebNotificationPermissionCallback* ActiveNotificationTracker::GetCallback(
- int id) {
- return callback_table_.Lookup(id);
-}
-
-int ActiveNotificationTracker::RegisterPermissionRequest(
- WebNotificationPermissionCallback* callback) {
- return callback_table_.Add(callback);
-}
-
-void ActiveNotificationTracker::OnPermissionRequestComplete(int id) {
- callback_table_.Remove(id);
-}
-
} // namespace content
« no previous file with comments | « content/renderer/active_notification_tracker.h ('k') | content/renderer/notification_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698