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

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: Remove cwv.h import from Framework header. 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
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 2ab0917c271d55ebb581a75f897a641f4975abe4..73dca2bacf70d672e9a325c256a3453babfc1979 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)
@@ -21,8 +19,6 @@
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
- [CWV configureWithUserAgentProductName:@"Dummy/1.0"];
-
[self.window makeKeyAndVisible];
ShellViewController* controller = [[ShellViewController alloc] init];

Powered by Google App Engine
This is Rietveld 408576698