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

Unified Diff: chrome/browser/notifications/notification_handler.h

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/notification_handler.h
diff --git a/chrome/browser/notifications/notification_handler.h b/chrome/browser/notifications/notification_handler.h
index b410d49f7a7ae3da75ef5d205c301d363500869d..c0238edb7e304620ca48d7fe761188e590e9214a 100644
--- a/chrome/browser/notifications/notification_handler.h
+++ b/chrome/browser/notifications/notification_handler.h
@@ -8,6 +8,8 @@
#include <memory>
#include <string>
+#include "base/strings/nullable_string16.h"
+
class NotificationDelegate;
class Profile;
@@ -28,7 +30,8 @@ class NotificationHandler {
virtual void OnClick(Profile* profile,
const std::string& origin,
const std::string& notification_id,
- int action_index) = 0;
+ int action_index,
+ const base::NullableString16& reply) = 0;
// Open notification settings.
virtual void OpenSettings(Profile* profile) = 0;

Powered by Google App Engine
This is Rietveld 408576698