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

Unified Diff: ios/chrome/browser/favicon/favicon_loader.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/favicon/favicon_loader.h
diff --git a/ios/chrome/browser/favicon/favicon_loader.h b/ios/chrome/browser/favicon/favicon_loader.h
index b1ad40bae02983968c2d9b89b56a1d6b233fec58..60f8ccc12ae3633b99ddcc1fbb04574b764e2a3a 100644
--- a/ios/chrome/browser/favicon/favicon_loader.h
+++ b/ios/chrome/browser/favicon/favicon_loader.h
@@ -5,11 +5,11 @@
#ifndef IOS_CHROME_BROWSER_FAVICON_FAVICON_LOADER_H_
#define IOS_CHROME_BROWSER_FAVICON_FAVICON_LOADER_H_
+#include <memory>
#include <vector>
#import "base/mac/scoped_nsobject.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/task/cancelable_task_tracker.h"
#include "base/threading/thread_checker.h"
#include "components/favicon_base/favicon_types.h"
@@ -53,7 +53,7 @@ class FaviconLoader : public KeyedService {
// Called when the favicon load request completes. Saves image into the
// cache. Desktop code assumes this image is in PNG format.
void OnFaviconAvailable(
- scoped_ptr<RequestData> request_data,
+ std::unique_ptr<RequestData> request_data,
const std::vector<favicon_base::FaviconRawBitmapResult>&
favicon_bitmap_results);
« no previous file with comments | « ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc ('k') | ios/chrome/browser/favicon/favicon_loader.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698