Index: chrome/browser/notifications/notification_platform_bridge.h |
diff --git a/chrome/browser/notifications/notification_platform_bridge.h b/chrome/browser/notifications/notification_platform_bridge.h |
index 720245c8c8eb12465b5ab9d6d5ed949b4daa636f..0724c2858b3a0f573d7c1bc7401e37279b375e68 100644 |
--- a/chrome/browser/notifications/notification_platform_bridge.h |
+++ b/chrome/browser/notifications/notification_platform_bridge.h |
@@ -44,6 +44,13 @@ class NotificationPlatformBridge { |
bool incognito, |
std::set<std::string>* notification_ids) const = 0; |
+ // Asynchronous version of |GetDisplayed| |
+ // TODO(miguelg): remove the sync version once all paths have been updated. |
+ virtual void GetDisplayedAsync( |
+ const std::string& profile_id, |
+ bool incognito, |
+ const NotificationCommon::NotificationResultCallback& callback) const = 0; |
+ |
protected: |
NotificationPlatformBridge() {} |