Index: chrome/browser/notifications/native_notification_display_service.cc |
diff --git a/chrome/browser/notifications/native_notification_display_service.cc b/chrome/browser/notifications/native_notification_display_service.cc |
index 2de879d0bee177fe377d7bfd028db38317b7c310..a5ba31541876c963e359f7d61eb186ae7181de0f 100644 |
--- a/chrome/browser/notifications/native_notification_display_service.cc |
+++ b/chrome/browser/notifications/native_notification_display_service.cc |
@@ -14,6 +14,7 @@ |
#include "chrome/browser/notifications/notification_platform_bridge.h" |
#include "chrome/browser/notifications/persistent_notification_handler.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "content/public/browser/browser_thread.h" |
namespace { |
@@ -75,6 +76,12 @@ bool NativeNotificationDisplayService::GetDisplayed( |
GetProfileId(profile_), profile_->IsOffTheRecord(), notifications); |
} |
+void NativeNotificationDisplayService::GetDisplayedAsync( |
+ const NotificationCommon::NotificationResultCallback& callback) const { |
+ return notification_bridge_->GetDisplayedAsync( |
+ GetProfileId(profile_), profile_->IsOffTheRecord(), callback); |
+} |
+ |
void NativeNotificationDisplayService::ProcessNotificationOperation( |
NotificationCommon::Operation operation, |
NotificationCommon::Type notification_type, |