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

Side by Side Diff: media/video/capture/mac/video_capture_device_unittest_helper_mac.mm

Issue 8177008: Adding VideoCaptureDevice for Mac. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unittest changes to run on Mac OS X. Created 9 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/video/capture/video_capture_device_unittest_helper.h"
6
7 #import <Foundation/Foundation.h>
8
9 namespace media {
10
11 void ExecuteRunLoop() {
12 const int run_loop_timeout = 1;
dmac 2011/10/14 23:31:35 are you sure 1 second is enough? See comment about
mflodman_chromium_OOO 2011/10/16 21:58:38 File removed.
13 NSDate *loopUntil = [NSDate dateWithTimeIntervalSinceNow:run_loop_timeout];
14 [[NSRunLoop mainRunLoop] runMode: NSDefaultRunLoopMode
dmac 2011/10/14 23:31:35 no space between : and NSDefaultRunLoopMode
mflodman_chromium_OOO 2011/10/16 21:58:38 File removed.
15 beforeDate:loopUntil];
16 }
17
18 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698