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

Unified Diff: chrome/browser/notifications/notification_platform_bridge_android.h

Issue 2749453002: Make GetDisplayedNotifications asynchronous. (Closed)
Patch Set: review Created 3 years, 9 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/browser/notifications/notification_platform_bridge_android.h
diff --git a/chrome/browser/notifications/notification_platform_bridge_android.h b/chrome/browser/notifications/notification_platform_bridge_android.h
index 301338deb0aac23e44f09d31f81aff8e6c1ba547..2223881cb37b32086ad757d53b2a72ab288088a4 100644
--- a/chrome/browser/notifications/notification_platform_bridge_android.h
+++ b/chrome/browser/notifications/notification_platform_bridge_android.h
@@ -69,9 +69,10 @@ class NotificationPlatformBridgeAndroid : public NotificationPlatformBridge {
const Notification& notification) override;
void Close(const std::string& profile_id,
const std::string& notification_id) override;
- bool GetDisplayed(const std::string& profile_id,
- bool incognito,
- std::set<std::string>* notifications) const override;
+ void GetDisplayed(
+ const std::string& profile_id,
+ bool incognito,
+ const DisplayedNotificationsCallback& callback) const override;
static bool RegisterNotificationPlatformBridge(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698