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

Unified Diff: webrtc/examples/objc/AppRTCDemo/mac/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/mac/main.m
diff --git a/webrtc/modules/video_render/test/testAPI/testAPI_android.cc b/webrtc/examples/objc/AppRTCDemo/mac/main.m
similarity index 55%
copy from webrtc/modules/video_render/test/testAPI/testAPI_android.cc
copy to webrtc/examples/objc/AppRTCDemo/mac/main.m
index c62a62f39aabae3dc98024c6154467fa139eb2b3..23153e6dc7c052fd37b1529be84ffa6c4aac82f5 100644
--- a/webrtc/modules/video_render/test/testAPI/testAPI_android.cc
+++ b/webrtc/examples/objc/AppRTCDemo/mac/main.m
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
+ * Copyright 2014 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -8,8 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#import <Cocoa/Cocoa.h>
+
+#import "APPRTCAppDelegate.h"
+
int main(int argc, char* argv[]) {
- // TODO(leozwang): Video render test app is not ready on android,
- // make it dummy test now, will add android specific tests
- return 0;
+ @autoreleasepool {
+ [NSApplication sharedApplication];
+ APPRTCAppDelegate* delegate = [[APPRTCAppDelegate alloc] init];
+ [NSApp setDelegate:delegate];
+ [NSApp run];
+ }
}
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/mac/Info.plist ('k') | webrtc/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698