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

Unified Diff: ios/web_view/internal/cwv.mm

Issue 2715043002: Replace prefix of ios/web_view C++ classes. (Closed)
Patch Set: Created 3 years, 10 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
Index: ios/web_view/internal/cwv.mm
diff --git a/ios/web_view/internal/cwv.mm b/ios/web_view/internal/cwv.mm
index 62248ace37298e01e6068d78ec4a50dd31ddf518..fc0e92a357677d7d1c8a3287f75cd2ce9b2233b0 100644
--- a/ios/web_view/internal/cwv.mm
+++ b/ios/web_view/internal/cwv.mm
@@ -11,7 +11,7 @@
#include "base/single_thread_task_runner.h"
#include "ios/web/public/app/web_main.h"
#include "ios/web/public/web_thread.h"
-#import "ios/web_view/internal/criwv_web_main_delegate.h"
+#import "ios/web_view/internal/web_view_web_main_delegate.h"
#import "ios/web_view/public/cwv_delegate.h"
#import "ios/web_view/public/cwv_web_view.h"
#import "ios/web_view/public/cwv_web_view_configuration.h"
@@ -26,7 +26,7 @@ CWV* g_criwv = nil;
}
@interface CWV () {
- std::unique_ptr<ios_web_view::CRIWVWebMainDelegate> _webMainDelegate;
+ std::unique_ptr<ios_web_view::WebViewWebMainDelegate> _webMainDelegate;
std::unique_ptr<web::WebMain> _webMain;
}
@@ -59,7 +59,7 @@ CWV* g_criwv = nil;
self = [super init];
if (self) {
_delegate = delegate;
- _webMainDelegate.reset(new ios_web_view::CRIWVWebMainDelegate(_delegate));
+ _webMainDelegate.reset(new ios_web_view::WebViewWebMainDelegate(_delegate));
Eugene But (OOO till 7-30) 2017/02/25 01:29:28 Optiona nit: use base::MakeUnique here
michaeldo 2017/02/25 07:41:11 Done.
web::WebMainParams params(_webMainDelegate.get());
_webMain.reset(new web::WebMain(params));
}

Powered by Google App Engine
This is Rietveld 408576698