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

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

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/persistent_notification_handler.cc
diff --git a/chrome/browser/notifications/persistent_notification_handler.cc b/chrome/browser/notifications/persistent_notification_handler.cc
index 810b0f1ea8ec00e0beaf36d6bc1983a1c20b78d1..16b62654d2d925ffe2a566326c7d074ec0a9cbea 100644
--- a/chrome/browser/notifications/persistent_notification_handler.cc
+++ b/chrome/browser/notifications/persistent_notification_handler.cc
@@ -25,15 +25,17 @@ void PersistentNotificationHandler::OnClose(Profile* profile,
profile, notification_id, notification_origin, by_user);
}
-void PersistentNotificationHandler::OnClick(Profile* profile,
- const std::string& origin,
- const std::string& notification_id,
- int action_index) {
+void PersistentNotificationHandler::OnClick(
+ Profile* profile,
+ const std::string& origin,
+ const std::string& notification_id,
+ int action_index,
+ const base::NullableString16& reply) {
const GURL notification_origin(origin);
DCHECK(notification_origin.is_valid());
PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClick(
- profile, notification_id, notification_origin, action_index);
+ profile, notification_id, notification_origin, action_index, reply);
}
void PersistentNotificationHandler::OpenSettings(Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698