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

Unified Diff: ios/web/webui/url_fetcher_block_adapter.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
« no previous file with comments | « ios/web/webui/url_data_source_ios_impl.h ('k') | ios/web/webui/web_ui_ios_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/url_fetcher_block_adapter.h
diff --git a/ios/web/webui/url_fetcher_block_adapter.h b/ios/web/webui/url_fetcher_block_adapter.h
index 095240b404dd253ae837b33680511df6f46eddda..b55381e4d88bcd086787870bb75a204833eda986 100644
--- a/ios/web/webui/url_fetcher_block_adapter.h
+++ b/ios/web/webui/url_fetcher_block_adapter.h
@@ -7,8 +7,9 @@
#import <Foundation/Foundation.h>
+#include <memory>
+
#include "base/mac/scoped_block.h"
-#include "base/memory/scoped_ptr.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"
@@ -52,7 +53,7 @@ class URLFetcherBlockAdapter : public net::URLFetcherDelegate {
base::mac::ScopedBlock<web::URLFetcherBlockAdapterCompletion>
completion_handler_;
// URLFetcher for retrieving data from net stack.
- scoped_ptr<net::URLFetcher> fetcher_;
+ std::unique_ptr<net::URLFetcher> fetcher_;
};
} // namespace web
« no previous file with comments | « ios/web/webui/url_data_source_ios_impl.h ('k') | ios/web/webui/web_ui_ios_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698