Index: chrome/browser/notifications/notification_platform_bridge_android.cc |
diff --git a/chrome/browser/notifications/notification_platform_bridge_android.cc b/chrome/browser/notifications/notification_platform_bridge_android.cc |
index 0c8c82fe6f819c043ad8bc8419020a02332cd819..c45d0e1771ee60e9d633003b4b040c5422883475 100644 |
--- a/chrome/browser/notifications/notification_platform_bridge_android.cc |
+++ b/chrome/browser/notifications/notification_platform_bridge_android.cc |
@@ -319,6 +319,18 @@ bool NotificationPlatformBridgeAndroid::GetDisplayed( |
return false; |
} |
+void NotificationPlatformBridgeMac::GetDisplayedAsync( |
+ const std::string& profile_id, |
+ bool incognito, |
+ const NotificationCommon::NotificationResultCallback& callback) const { |
+ std::unique_ptr<std::set<std::string>> displayedNotifications = |
+ base::MakeUnique<std::set<std::string>>(); |
+ content::BrowserThread::PostTask( |
+ content::BrowserThread::IO, FROM_HERE, |
+ base::Bind(callback, base::Passed(&displayedNotifications), |
+ false /* supports sync */)); |
Peter Beverloo
2017/02/24 16:12:24
nit: "sync" is rather ambiguous (also in the other
Miguel Garcia
2017/03/22 22:00:07
Done.
|
+} |
+ |
// static |
bool NotificationPlatformBridgeAndroid::RegisterNotificationPlatformBridge( |
JNIEnv* env) { |