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

Unified Diff: ios/web/public/webui/web_ui_ios.h

Issue 2617243002: Remove ScopedVector from ios/. (Closed)
Patch Set: rebase Created 3 years, 11 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/net/request_tracker_impl_unittest.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/webui/web_ui_ios.h
diff --git a/ios/web/public/webui/web_ui_ios.h b/ios/web/public/webui/web_ui_ios.h
index 0da4be8778afc337a7c9730bd386c2d0047b860d..605348d69994d9193c29844d2826bb1a45c0c35c 100644
--- a/ios/web/public/webui/web_ui_ios.h
+++ b/ios/web/public/webui/web_ui_ios.h
@@ -41,7 +41,8 @@ class WebUIIOS {
virtual void SetController(WebUIIOSController* controller) = 0;
// Takes ownership of |handler|, which will be destroyed when the WebUIIOS is.
- virtual void AddMessageHandler(WebUIIOSMessageHandler* handler) = 0;
+ virtual void AddMessageHandler(
+ std::unique_ptr<WebUIIOSMessageHandler> handler) = 0;
// Used by WebUIIOSMessageHandlers. If the given message is already
// registered, the call has no effect unless |register_callback_overwrites_|
« no previous file with comments | « ios/web/net/request_tracker_impl_unittest.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698