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

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

Issue 1979583003: Support notifications with custom content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@messageview-close-button
Patch Set: fix mac build, attempt 2 Created 4 years, 7 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
« no previous file with comments | « chrome/browser/extensions/api/autotest_private/autotest_private_api.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/notification_conversion_helper.cc
diff --git a/chrome/browser/notifications/notification_conversion_helper.cc b/chrome/browser/notifications/notification_conversion_helper.cc
index f11b363bba330513e8d913cbe866ff6422b2d167..c2f8e920c9665465f1115ad9e0d0dbfbfaed14fc 100644
--- a/chrome/browser/notifications/notification_conversion_helper.cc
+++ b/chrome/browser/notifications/notification_conversion_helper.cc
@@ -202,6 +202,8 @@ std::string NotificationConversionHelper::MapTypeToString(
return "list";
case message_center::NOTIFICATION_TYPE_PROGRESS:
return "progress";
+ case message_center::NOTIFICATION_TYPE_CUSTOM:
+ return "custom";
default:
NOTREACHED();
return "";
« no previous file with comments | « chrome/browser/extensions/api/autotest_private/autotest_private_api.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698