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

Unified Diff: components/test_runner/renderer/mock_video_capturer_source.h

Issue 1371373002: Extend components/test_runner's generated WebMediaStream to have a ChromeMock VideoTrack and Source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mazzoni@ comments, web_view/test_runner build, rebase, cleaned up requestUserMedia() Created 5 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: components/test_runner/renderer/mock_video_capturer_source.h
diff --git a/components/test_runner/renderer/mock_video_capturer_source.h b/components/test_runner/renderer/mock_video_capturer_source.h
new file mode 100644
index 0000000000000000000000000000000000000000..73fbdfaad7b7e5e1fddb05bcbcd65e8b293284fb
--- /dev/null
+++ b/components/test_runner/renderer/mock_video_capturer_source.h
@@ -0,0 +1,18 @@
+// Copyright 2015 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.
+
+#ifndef COMPONENTS_TEST_RUNNER_CONTENT_RENDERER_MOCK_VIDEO_CAPTURER_SOURCE_H_
+#define COMPONENTS_TEST_RUNNER_CONTENT_RENDERER_MOCK_VIDEO_CAPTURER_SOURCE_H_
+
+namespace blink {
+class WebMediaStream;
+} // namespace blink
+
+namespace test_runner {
+
+void AddVideoTrackToMediaStream(blink::WebMediaStream* stream);
+
+} // namespace test_runner
+
+#endif // COMPONENTS_TEST_RUNNER_CONTENT_RENDERER_MOCK_VIDEO_CAPTURER_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698