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

Unified Diff: content/browser/background_sync/background_sync_registration.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/browser/background_sync/background_sync_registration.h
diff --git a/content/browser/background_sync/background_sync_registration.h b/content/browser/background_sync/background_sync_registration.h
index 924540f65ac7fd24bcedcacf3175b64af8866749..684370dbfde6456af66a5cb4f2164a5fd0ab7e32 100644
--- a/content/browser/background_sync/background_sync_registration.h
+++ b/content/browser/background_sync/background_sync_registration.h
@@ -8,10 +8,10 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "content/browser/background_sync/background_sync.pb.h"
#include "content/browser/background_sync/background_sync_registration_options.h"
@@ -68,9 +68,9 @@ namespace mojo {
template <>
struct CONTENT_EXPORT
- TypeConverter<scoped_ptr<content::BackgroundSyncRegistration>,
+ TypeConverter<std::unique_ptr<content::BackgroundSyncRegistration>,
content::mojom::SyncRegistrationPtr> {
- static scoped_ptr<content::BackgroundSyncRegistration> Convert(
+ static std::unique_ptr<content::BackgroundSyncRegistration> Convert(
const content::mojom::SyncRegistrationPtr& input);
};

Powered by Google App Engine
This is Rietveld 408576698