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

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

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: Remove todo as it doesn't seem necessary after all Created 4 years, 2 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/non_persistent_notification_handler.cc
diff --git a/chrome/browser/notifications/non_persistent_notification_handler.cc b/chrome/browser/notifications/non_persistent_notification_handler.cc
index 3e21f926c3f27b7e4ec54d03c34dc953aadd7b9a..74871d3f28e3de712957cb997d5f9d2b868b9a7a 100644
--- a/chrome/browser/notifications/non_persistent_notification_handler.cc
+++ b/chrome/browser/notifications/non_persistent_notification_handler.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/notifications/non_persistent_notification_handler.h"
+#include "base/strings/nullable_string16.h"
#include "chrome/browser/notifications/notification_delegate.h"
#include "chrome/browser/notifications/platform_notification_service_impl.h"
@@ -25,7 +26,8 @@ void NonPersistentNotificationHandler::OnClick(
Profile* profile,
const std::string& origin,
const std::string& notification_id,
- int action_index) {
+ int action_index,
+ const base::NullableString16& reply) {
// Buttons not supported for non persistent notifications.
DCHECK_EQ(action_index, -1);
if (notifications_.find(notification_id) != notifications_.end()) {

Powered by Google App Engine
This is Rietveld 408576698