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

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

Issue 1422673002: Extract Notifications kClickWasNotAnAction constant Base URL: https://chromium.googlesource.com/chromium/src.git@actions_spec_sync
Patch Set: Created 5 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_delegate.cc
diff --git a/chrome/browser/notifications/persistent_notification_delegate.cc b/chrome/browser/notifications/persistent_notification_delegate.cc
index 4acd06a47de0fdba4116610c08ebeb35fd458c7d..cc366789def5387c669941de0581235fe9c39974 100644
--- a/chrome/browser/notifications/persistent_notification_delegate.cc
+++ b/chrome/browser/notifications/persistent_notification_delegate.cc
@@ -8,6 +8,7 @@
#include "base/guid.h"
#include "chrome/browser/notifications/platform_notification_service_impl.h"
#include "content/public/common/persistent_notification_status.h"
+#include "content/public/common/platform_notification_data.h"
PersistentNotificationDelegate::PersistentNotificationDelegate(
content::BrowserContext* browser_context,
@@ -36,7 +37,7 @@ void PersistentNotificationDelegate::Click() {
browser_context_,
persistent_notification_id_,
origin_,
- -1 /* action_index */);
+ content::kNotificationClickWasNotAnAction);
}
void PersistentNotificationDelegate::ButtonClick(int button_index) {

Powered by Google App Engine
This is Rietveld 408576698