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

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

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: Send NullableString through IPC, remove settings check from ButtonClickWithReply, add TODO in messa… 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..38bde231957aae73acb90b75975d74b0d5c79fdb 100644
--- a/chrome/browser/notifications/non_persistent_notification_handler.cc
+++ b/chrome/browser/notifications/non_persistent_notification_handler.cc
@@ -25,7 +25,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) {
Peter Beverloo 2016/10/12 13:58:31 Could we DCHECK(reply.is_null()) since we don't su
awdf 2016/10/12 17:04:01 Done.
// 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