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

Unified Diff: content/browser/notifications/platform_notification_context_impl.h

Issue 2565323004: [NOT FOR COMMIT] Ownership clean-up for 2534443002 (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | content/browser/notifications/platform_notification_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/browser/notifications/platform_notification_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698