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

Unified Diff: ios/web/web_state/crw_pass_kit_downloader_unittest.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/web_state/crw_pass_kit_downloader.mm ('k') | ios/web/web_state/js/credential_util_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_unittest.mm
diff --git a/ios/web/web_state/crw_pass_kit_downloader_unittest.mm b/ios/web/web_state/crw_pass_kit_downloader_unittest.mm
index c65b238abefafc2359132bf288c77a89fa1f2b28..b7bf7ac4fdff645c58a9ac219d8f2f848959349b 100644
--- a/ios/web/web_state/crw_pass_kit_downloader_unittest.mm
+++ b/ios/web/web_state/crw_pass_kit_downloader_unittest.mm
@@ -6,8 +6,9 @@
#import <Foundation/Foundation.h>
+#include <memory>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#import "ios/web/test/web_test.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
@@ -63,7 +64,7 @@ class CRWPassKitDownloaderTest : public WebTest {
// Test fetcher factory from which we access and control the URLFetcher
// used in CRWPassKitDownloader.
- scoped_ptr<net::TestURLFetcherFactory> fetcher_factory_;
+ std::unique_ptr<net::TestURLFetcherFactory> fetcher_factory_;
// The CRWPassKitDownloader that is being tested.
base::scoped_nsobject<CRWPassKitDownloader> downloader_;
« no previous file with comments | « ios/web/web_state/crw_pass_kit_downloader.mm ('k') | ios/web/web_state/js/credential_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698