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

Unified Diff: media/base/android/provision_fetcher.h

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: . 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: media/base/android/provision_fetcher.h
diff --git a/media/base/android/provision_fetcher.h b/media/base/android/provision_fetcher.h
index c9673356e911db5810f9fbebedb5faea42a4e6db..256b995c897c69aedf24b29c7fa630dd40511b39 100644
--- a/media/base/android/provision_fetcher.h
+++ b/media/base/android/provision_fetcher.h
@@ -5,10 +5,10 @@
#ifndef MEDIA_BASE_PROVISION_FETCHER_H
#define MEDIA_BASE_PROVISION_FETCHER_H
+#include <memory>
#include <string>
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
namespace media {
@@ -35,7 +35,7 @@ class MEDIA_EXPORT ProvisionFetcher {
const ResponseCB& response_cb) = 0;
};
-using CreateFetcherCB = base::Callback<scoped_ptr<ProvisionFetcher>()>;
+using CreateFetcherCB = base::Callback<std::unique_ptr<ProvisionFetcher>()>;
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698