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

Unified Diff: ios/web/web_state/crw_pass_kit_downloader.mm

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
« no previous file with comments | « ios/web/test/web_test.mm ('k') | ios/web/web_state/crw_pass_kit_downloader_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/crw_pass_kit_downloader.mm
diff --git a/ios/web/web_state/crw_pass_kit_downloader.mm b/ios/web/web_state/crw_pass_kit_downloader.mm
index 1b61538bb027758caf339363893441af0ebdba96..15b601241afc39915fdd6ca037d0141c237923bf 100644
--- a/ios/web/web_state/crw_pass_kit_downloader.mm
+++ b/ios/web/web_state/crw_pass_kit_downloader.mm
@@ -4,10 +4,11 @@
#import "ios/web/web_state/crw_pass_kit_downloader.h"
+#include <memory>
+
#import "base/ios/weak_nsobject.h"
#include "base/mac/scoped_block.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/metrics/histogram.h"
#include "base/strings/sys_string_conversions.h"
#import "ios/web/crw_network_activity_indicator_manager.h"
@@ -86,10 +87,10 @@ class PassKitFetcherDelegate : public URLFetcherDelegate {
// URLFetcher with which PassKit data is downloaded. It is initialized
// whenever |downloadPassKitFileWithURL| is called.
- scoped_ptr<URLFetcher> _fetcher;
+ std::unique_ptr<URLFetcher> _fetcher;
// Delegate to bridge between URLFetcher callback and CRWPassKitDownlaoder.
- scoped_ptr<PassKitFetcherDelegate> _fetcherDelegate;
+ std::unique_ptr<PassKitFetcherDelegate> _fetcherDelegate;
// Context getter which is passed to the URLFetcher, as required by
// URLFetcher API.
« no previous file with comments | « ios/web/test/web_test.mm ('k') | ios/web/web_state/crw_pass_kit_downloader_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698