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

Side by Side Diff: ios/web_view/internal/web_view_web_main_delegate.mm

Issue 2715043002: Replace prefix of ios/web_view C++ classes. (Closed)
Patch Set: Created 3 years, 9 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 #import "ios/web_view/internal/criwv_web_main_delegate.h" 5 #import "ios/web_view/internal/web_view_web_main_delegate.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #import "ios/web_view/internal/criwv_web_client.h" 8 #import "ios/web_view/internal/web_view_web_client.h"
9 #import "ios/web_view/public/cwv_delegate.h" 9 #import "ios/web_view/public/cwv_delegate.h"
10 10
11 #if !defined(__has_feature) || !__has_feature(objc_arc) 11 #if !defined(__has_feature) || !__has_feature(objc_arc)
12 #error "This file requires ARC support." 12 #error "This file requires ARC support."
13 #endif 13 #endif
14 14
15 namespace ios_web_view { 15 namespace ios_web_view {
16 16
17 CRIWVWebMainDelegate::CRIWVWebMainDelegate(id<CWVDelegate> delegate) 17 WebViewWebMainDelegate::WebViewWebMainDelegate(id<CWVDelegate> delegate)
18 : delegate_(delegate) {} 18 : delegate_(delegate) {}
19 19
20 CRIWVWebMainDelegate::~CRIWVWebMainDelegate() {} 20 WebViewWebMainDelegate::~WebViewWebMainDelegate() {}
Eugene But (OOO till 7-30) 2017/02/25 01:29:29 Optional nit: WebViewWebMainDelegate::~WebViewWebM
michaeldo 2017/02/25 07:41:12 Done.
21 21
22 void CRIWVWebMainDelegate::BasicStartupComplete() { 22 void WebViewWebMainDelegate::BasicStartupComplete() {
23 web_client_ = base::MakeUnique<CRIWVWebClient>(delegate_); 23 web_client_ = base::MakeUnique<WebViewWebClient>(delegate_);
24 web::SetWebClient(web_client_.get()); 24 web::SetWebClient(web_client_.get());
25 } 25 }
26 26
27 } // namespace ios_web_view 27 } // namespace ios_web_view
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698