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); |
}; |