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

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

Issue 2392343002: Plumbing in notification replies: PlatformNotificationService -> SW (Closed)
Patch Set: include base/logging.h for NOTIMPLEMENTED 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..851e76bfebe4b19dddb0dde7dfd490c67758b203 100644
--- a/chrome/browser/notifications/notification_handler.h
+++ b/chrome/browser/notifications/notification_handler.h
@@ -8,6 +8,10 @@
#include <memory>
#include <string>
+namespace base {
+class NullableString16;
+}
+
class NotificationDelegate;
class Profile;
@@ -28,7 +32,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