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

Side by Side Diff: webrtc/test/testsupport/mac/run_threaded_main_mac.h

Issue 2540693002: Replace test_support_main by test_main and get rid of test_support_main_threaded_mac (Closed)
Patch Set: Adressed comments. Created 4 years 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 unified diff | Download patch
« no previous file with comments | « webrtc/test/test_suite.cc ('k') | webrtc/test/testsupport/mac/run_threaded_main_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 /**
12 * This file and its corresponding .mm file implement a main function on Mac.
13 * It's useful if you need to access a webcam in your Mac application. The code
14 * forks a worker thread which runs the below ImplementThisToRunYourTest
15 * function, and uses the main thread to pump messages. That way we can run our
16 * code in a regular sequential fashion and still pump events, which are
17 * necessary to access the webcam for instance.
18 */
19
20 // Implement this method to do whatever you want to do in the worker thread.
21 // The argc and argv variables are the unmodified command line from main.
22 int ImplementThisToRunYourTest(int argc, char** argv);
OLDNEW
« no previous file with comments | « webrtc/test/test_suite.cc ('k') | webrtc/test/testsupport/mac/run_threaded_main_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698