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

Unified Diff: ios/web_view/shell/shell_app_delegate.m

Issue 2791403005: Remove CWV class and move setting User Agent to CWVWebViewConfiguration. (Closed)
Patch Set: Rebase. Created 3 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_view/public/cwv_web_view.h ('k') | ios/web_view/shell/shell_view_controller.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/shell/shell_app_delegate.m
diff --git a/ios/web_view/shell/shell_app_delegate.m b/ios/web_view/shell/shell_app_delegate.m
index a553363fdfc5d2fc3cba826da0ea3cd2782188eb..b1b2e5e035a38a3b7a57f2b345f83839a089a5a8 100644
--- a/ios/web_view/shell/shell_app_delegate.m
+++ b/ios/web_view/shell/shell_app_delegate.m
@@ -4,8 +4,6 @@
#import "ios/web_view/shell/shell_app_delegate.h"
-#import <ChromeWebView/ChromeWebView.h>
-
#import "ios/web_view/shell/shell_view_controller.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -25,8 +23,6 @@
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
- [CWV configureWithUserAgentProductName:@"Dummy/1.0"];
-
ShellViewController* controller = [[ShellViewController alloc] init];
// Gives a restoration identifier so that state restoration works.
controller.restorationIdentifier = @"rootViewController";
« no previous file with comments | « ios/web_view/public/cwv_web_view.h ('k') | ios/web_view/shell/shell_view_controller.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698