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

Side by Side Diff: ios/web/web_state/ui/crw_wk_web_view_web_controller.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: Add header 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_
6 #define IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ 6 #define IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_
7 7
8 #import "ios/web/web_state/ui/crw_web_controller.h" 8 #import "ios/web/web_state/ui/crw_web_controller.h"
9 9
noyau (Ping after 24h) 2016/04/07 13:34:05 #include <memory>
10 // A concrete implementation of CRWWebController based on WKWebView. 10 // A concrete implementation of CRWWebController based on WKWebView.
11 @interface CRWWKWebViewWebController : CRWWebController 11 @interface CRWWKWebViewWebController : CRWWebController
12 12
13 // Designated initializer. 13 // Designated initializer.
14 - (instancetype)initWithWebState:(scoped_ptr<web::WebStateImpl>)webState; 14 - (instancetype)initWithWebState:(std::unique_ptr<web::WebStateImpl>)webState;
15 15
16 @end 16 @end
17 17
18 #endif // IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ 18 #endif // IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698