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

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

Issue 1509923002: Implement native web notifications for mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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_test_util.cc
diff --git a/chrome/browser/notifications/notification_test_util.cc b/chrome/browser/notifications/notification_test_util.cc
index 41cf5217a7bf368cd1f88332f5d62c1b9684bf31..38be3bb68f1f13ff18e4907e80c83cda8b926160 100644
--- a/chrome/browser/notifications/notification_test_util.cc
+++ b/chrome/browser/notifications/notification_test_util.cc
@@ -135,3 +135,8 @@ void StubNotificationUIManager::CancelAll() {
pair.first.delegate()->Close(false /* by_user */);
notifications_.clear();
}
+
+bool StubNotificationUIManager::AcceptNativeNotifications() {
+ return false;
+ ;
Robert Sesek 2015/12/11 21:17:53 nit: remove
Miguel Garcia 2015/12/15 13:37:38 Done.
+}

Powered by Google App Engine
This is Rietveld 408576698