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: ios/chrome/browser/suggestions/image_fetcher_impl.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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: ios/chrome/browser/suggestions/image_fetcher_impl.h
diff --git a/ios/chrome/browser/suggestions/image_fetcher_impl.h b/ios/chrome/browser/suggestions/image_fetcher_impl.h
index 8cd0c01c49981375b3ec85680cfdd9b3d9ba4ebe..a0f00362e5af20b02700201337e2dff280532c46 100644
--- a/ios/chrome/browser/suggestions/image_fetcher_impl.h
+++ b/ios/chrome/browser/suggestions/image_fetcher_impl.h
@@ -5,9 +5,10 @@
#ifndef IOS_CHROME_BROWSER_SUGGESTIONS_IMAGE_FETCHER_IMPL_H_
#define IOS_CHROME_BROWSER_SUGGESTIONS_IMAGE_FETCHER_IMPL_H_
+#include <memory>
+
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/suggestions/image_fetcher.h"
class GURL;
@@ -44,7 +45,7 @@ class ImageFetcherImpl : public suggestions::ImageFetcher {
base::Callback<void(const GURL&, const SkBitmap*)> callback) override;
private:
- scoped_ptr<image_fetcher::ImageFetcher> imageFetcher_;
+ std::unique_ptr<image_fetcher::ImageFetcher> imageFetcher_;
ImageFetcherDelegate* delegate_;
« no previous file with comments | « ios/chrome/browser/ssl/ios_ssl_blocking_page.mm ('k') | ios/chrome/browser/suggestions/suggestions_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698