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

Unified Diff: chrome/browser/extensions/api/autotest_private/autotest_private_api.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 | « no previous file | chrome/browser/notifications/notification_conversion_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
diff --git a/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc b/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
index 99b041aa5749bf8bcc80b5dd166bfd7b0e3c51f6..6f83891cb57b80aa42e6d298c95c2b2c0cee6c21 100644
--- a/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
+++ b/chrome/browser/extensions/api/autotest_private/autotest_private_api.cc
@@ -339,6 +339,8 @@ std::string AutotestPrivateGetVisibleNotificationsFunction::ConvertToString(
return "multiple";
case message_center::NOTIFICATION_TYPE_PROGRESS:
return "progress";
+ case message_center::NOTIFICATION_TYPE_CUSTOM:
+ return "custom";
}
#endif
return "unknown";
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_conversion_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698