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

Unified Diff: ios/web/public/app/web_main_parts.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/public/app/web_main_parts.h ('k') | ios/web/shell/Info.plist » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/app/web_main_parts.mm
diff --git a/ios/build/packaging/dummy_main.mm b/ios/web/public/app/web_main_parts.mm
similarity index 59%
copy from ios/build/packaging/dummy_main.mm
copy to ios/web/public/app/web_main_parts.mm
index 20dd1ba9897fabfbc3bd480c374e0526dbdfe90d..541cc36243b99edd84222c0a88d8d224906adea3 100644
--- a/ios/build/packaging/dummy_main.mm
+++ b/ios/web/public/app/web_main_parts.mm
@@ -2,7 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Provides a main() function for an empty dummy app.
-int main(int argc, char *argv[]) {
+#include "ios/web/public/app/web_main_parts.h"
+
+namespace web {
+
+int WebMainParts::PreCreateThreads() {
return 0;
}
+
+} // namespace web
« no previous file with comments | « ios/web/public/app/web_main_parts.h ('k') | ios/web/shell/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698