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

Unified Diff: ios/web/webui/url_data_source_ios_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
« no previous file with comments | « ios/web/webui/url_data_manager_ios_backend.mm ('k') | ios/web/webui/url_fetcher_block_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/url_data_source_ios_impl.h
diff --git a/ios/web/webui/url_data_source_ios_impl.h b/ios/web/webui/url_data_source_ios_impl.h
index 8544f83954f9535a92e945e43b20748dd9f42af8..bb9b2b11bfdc0db03c08f705da24f0b76f71b4ba 100644
--- a/ios/web/webui/url_data_source_ios_impl.h
+++ b/ios/web/webui/url_data_source_ios_impl.h
@@ -5,8 +5,9 @@
#ifndef IOS_INTERNAL_WEB_WEBUI_URL_DATA_SOURCE_IMPL_IOS_H_
#define IOS_INTERNAL_WEB_WEBUI_URL_DATA_SOURCE_IMPL_IOS_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/sequenced_task_runner_helpers.h"
#include "ios/web/webui/url_data_manager_ios.h"
@@ -91,7 +92,7 @@ class URLDataSourceIOSImpl
// source.
URLDataManagerIOSBackend* backend_;
- scoped_ptr<URLDataSourceIOS> source_;
+ std::unique_ptr<URLDataSourceIOS> source_;
};
} // namespace web
« no previous file with comments | « ios/web/webui/url_data_manager_ios_backend.mm ('k') | ios/web/webui/url_fetcher_block_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698