Index: content/browser/notifications/platform_notification_context_impl.h |
diff --git a/content/browser/notifications/platform_notification_context_impl.h b/content/browser/notifications/platform_notification_context_impl.h |
index 71c9822372c7396dff4333f0247f720ae164e726..2a27522abb35ec30dbf47b7ba0b80531fd9a989b 100644 |
--- a/content/browser/notifications/platform_notification_context_impl.h |
+++ b/content/browser/notifications/platform_notification_context_impl.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_NOTIFICATIONS_PLATFORM_NOTIFICATION_CONTEXT_IMPL_H_ |
#include <stdint.h> |
+#include <memory> |
#include <set> |
#include <string> |
#include <vector> |
@@ -134,7 +135,7 @@ class CONTENT_EXPORT PlatformNotificationContextImpl |
const GURL& origin, |
int64_t service_worker_registration_id, |
const ReadAllResultCallback& callback, |
- std::set<std::string>* displayed_notifications, |
+ std::unique_ptr<std::set<std::string>> displayed_notifications, |
bool sync_supported); |
// Actually reads all notification data from the database. Must only be |
@@ -144,7 +145,7 @@ class CONTENT_EXPORT PlatformNotificationContextImpl |
const GURL& origin, |
int64_t service_worker_registration_id, |
const ReadAllResultCallback& callback, |
- std::set<std::string>* displayed_notifications, |
+ std::unique_ptr<std::set<std::string>> displayed_notifications, |
bool synchronization_supported); |
// Actually writes the notification database to the database. Must only be |