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

Unified Diff: chrome/browser/notifications/platform_notification_service_unittest.cc

Issue 1275743003: Deliver action clicks to page notifications (chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@click_test
Patch Set: Created 5 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
Index: chrome/browser/notifications/platform_notification_service_unittest.cc
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc
index 7c4542a4a2e12ecc2657c5b0ab04b8e45e4ccd84..e34ba69856498bffb10cc6ece29ab9a897e6dbfe 100644
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc
@@ -54,7 +54,7 @@ class MockDesktopNotificationDelegate
// content::DesktopNotificationDelegate implementation.
void NotificationDisplayed() override { displayed_ = true; }
void NotificationClosed() override {}
- void NotificationClick() override { clicked_ = true; }
+ void NotificationClick(int action_index) override { clicked_ = true; }
bool displayed() const { return displayed_; }
bool clicked() const { return clicked_; }

Powered by Google App Engine
This is Rietveld 408576698