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

Unified Diff: media/video/capture/video_capture_device_unittest_helper.h

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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698