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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ios/main.m

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 years, 4 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: webrtc/examples/objc/AppRTCDemo/ios/main.m
diff --git a/webrtc/base/openssl.h b/webrtc/examples/objc/AppRTCDemo/ios/main.m
similarity index 62%
copy from webrtc/base/openssl.h
copy to webrtc/examples/objc/AppRTCDemo/ios/main.m
index 2071619d5d519b7d5b0ad278fa47e37d4b4b10ac..00b83f7fd2f1cf5a7433cb388b4d39e589e4fb5e 100644
--- a/webrtc/base/openssl.h
+++ b/webrtc/examples/objc/AppRTCDemo/ios/main.m
@@ -8,13 +8,13 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_BASE_OPENSSL_H_
-#define WEBRTC_BASE_OPENSSL_H_
+#import <UIKit/UIKit.h>
-#include <openssl/ssl.h>
+#import "ARDAppDelegate.h"
-#if (OPENSSL_VERSION_NUMBER < 0x10000000L)
-#error OpenSSL is older than 1.0.0, which is the minimum supported version.
-#endif
-
-#endif // WEBRTC_BASE_OPENSSL_H_
+int main(int argc, char* argv[]) {
+ @autoreleasepool {
+ return UIApplicationMain(
+ argc, argv, nil, NSStringFromClass([ARDAppDelegate class]));
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698