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

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: 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;
+ ;
Peter Beverloo 2015/12/09 00:12:00 Don't empty statements cause compile errors?
Miguel Garcia 2015/12/10 20:16:30 Actually it didn't, thanks for spotting this one.
+}

Powered by Google App Engine
This is Rietveld 408576698