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

Unified Diff: ios/web/webui/crw_web_ui_manager.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/web_state/wk_web_view_security_util_unittest.mm ('k') | ios/web/webui/crw_web_ui_manager.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/crw_web_ui_manager.h
diff --git a/ios/web/webui/crw_web_ui_manager.h b/ios/web/webui/crw_web_ui_manager.h
index a4b805325d6485edecc7bdf0b50b67f62e64647a..b9550d2caf2411666eb6ad98d2addfaece3de26e 100644
--- a/ios/web/webui/crw_web_ui_manager.h
+++ b/ios/web/webui/crw_web_ui_manager.h
@@ -7,6 +7,8 @@
#import <Foundation/Foundation.h>
+#include <memory>
+
#import "ios/web/public/web_state/web_state_observer_bridge.h"
#import "ios/web/webui/url_fetcher_block_adapter.h"
@@ -31,9 +33,9 @@ class WebStateImpl;
// Returns URLFetcherBlockAdapter for fetching resource for URL. Can be
// overwritten by test classes to mock resource retrieval.
-- (scoped_ptr<web::URLFetcherBlockAdapter>)
- fetcherForURL:(const GURL&)URL
- completionHandler:(web::URLFetcherBlockAdapterCompletion)handler;
+- (std::unique_ptr<web::URLFetcherBlockAdapter>)
+ fetcherForURL:(const GURL&)URL
+completionHandler:(web::URLFetcherBlockAdapterCompletion)handler;
@end
« no previous file with comments | « ios/web/web_state/wk_web_view_security_util_unittest.mm ('k') | ios/web/webui/crw_web_ui_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698