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

Unified Diff: content/public/browser/platform_notification_service.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | content/public/browser/power_save_blocker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/platform_notification_service.h
diff --git a/content/public/browser/platform_notification_service.h b/content/public/browser/platform_notification_service.h
index e3be57041369b1ced85c2d5379ded049c147544e..75e8c12e320570c24832e60e57bb873b7a3abcbf 100644
--- a/content/public/browser/platform_notification_service.h
+++ b/content/public/browser/platform_notification_service.h
@@ -6,12 +6,13 @@
#define CONTENT_PUBLIC_BROWSER_PLATFORM_NOTIFICATION_SERVICE_H_
#include <stdint.h>
+
+#include <memory>
#include <set>
#include <string>
#include <vector>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/modules/notifications/WebNotificationPermission.h"
@@ -57,7 +58,7 @@ class CONTENT_EXPORT PlatformNotificationService {
const GURL& origin,
const PlatformNotificationData& notification_data,
const NotificationResources& notification_resources,
- scoped_ptr<DesktopNotificationDelegate> delegate,
+ std::unique_ptr<DesktopNotificationDelegate> delegate,
base::Closure* cancel_callback) = 0;
// Displays the persistent notification described in |notification_data| to
« no previous file with comments | « content/public/browser/navigation_handle.cc ('k') | content/public/browser/power_save_blocker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698