OLD | NEW |
---|---|
(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 | |
OLD | NEW |