Index: media/video/capture/video_capture_device_unittest_helper.h |
diff --git a/media/video/capture/video_capture_device_unittest_helper.h b/media/video/capture/video_capture_device_unittest_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c11116ff27823eb640b8e881d41dfe4e947087b1 |
--- /dev/null |
+++ b/media/video/capture/video_capture_device_unittest_helper.h |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Helper function to trigger runloop execution. Only needed for Mac OS X. |
+ |
+#include "build/build_config.h" |
+ |
+namespace media { |
+ |
+#if defined(OS_MACOSX) |
+void ExecuteRunLoop(); |
+#else |
+void ExecuteRunLoop() {}; |
+#endif |
+ |
+} // namespace media |