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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxyImpl.java

Issue 960923004: Add two instrumentation tests for Web Notifications on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxyImpl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxyImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxyImpl.java
index 6e99a4773f46be08bae741786609828b45ec4cde..b05fd0047b17adb015a4506b96e789b5e158fdd9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxyImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationManagerProxyImpl.java
@@ -24,7 +24,22 @@ public class NotificationManagerProxyImpl implements NotificationManagerProxy {
}
@Override
+ public void cancel(String tag, int id) {
+ mNotificationManager.cancel(tag, id);
+ }
+
+ @Override
+ public void cancelAll() {
+ mNotificationManager.cancelAll();
+ }
+
+ @Override
public void notify(int id, Notification notification) {
mNotificationManager.notify(id, notification);
}
+
+ @Override
+ public void notify(String tag, int id, Notification notification) {
+ mNotificationManager.notify(tag, id, notification);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698