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

Unified Diff: ios/web/shell/web_exe_main.mm

Issue 1149323004: Upstream the iOS web_shell and supporting code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@web-thread-impl
Patch Set: Address review comments Created 5 years, 7 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/shell/view_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/web_exe_main.mm
diff --git a/tools/gn/example/hello.cc b/ios/web/shell/web_exe_main.mm
similarity index 50%
copy from tools/gn/example/hello.cc
copy to ios/web/shell/web_exe_main.mm
index c4aa4482949cd0ea980a563e2ea9c5cd2e118365..0e7c58b3a9bfc7454acc4cc0ad985e109d7384d4 100644
--- a/tools/gn/example/hello.cc
+++ b/ios/web/shell/web_exe_main.mm
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <stdio.h>
+#import <UIKit/UIKit.h>
-#include "hello_shared.h"
-#include "hello_static.h"
+#import "ios/web/shell/app_delegate.h"
int main(int argc, char* argv[]) {
- printf("%s, %s\n", GetStaticText(), GetSharedText());
- return 0;
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil,
+ NSStringFromClass([AppDelegate class]));
+ }
}
« no previous file with comments | « ios/web/shell/view_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698