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

Side by Side Diff: content/browser/media/webrtc/webrtc_webcam_browsertest.h

Issue 2190523004: ImageCapture: content_browsertest WebRtcImageCaptureBrowserTest CreateAndGetCapabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test entry for real-world capture device, leaving just FakeVCD Created 4 years, 4 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 2016 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 #ifndef CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_WEBCAM_BROWSERTEST_H_
6 #define CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_WEBCAM_BROWSERTEST_H_
7
8 #include "content/public/test/content_browser_test.h"
9
10 namespace base {
11 class CommandLine;
12 }
13
14 namespace content {
15
16 // This class doesn't inherit from WebRtcContentBrowserTestBase like the others
17 // since we want it to actually acquire the real webcam on the system (if there
18 // is one). For that, it removes the |kUseFakeDeviceForMediaStream| flag from
19 // the command line in SetUpCommandLine().
20 class WebRtcWebcamBrowserTest : public ContentBrowserTest {
21 public:
22 WebRtcWebcamBrowserTest() = default;
23 ~WebRtcWebcamBrowserTest() override = default;
24
25 // ContentBrowserTest implementation.
26 void SetUpCommandLine(base::CommandLine* command_line) override;
27 void SetUp() override;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(WebRtcWebcamBrowserTest);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_BROWSER_MEDIA_WEBRTC_WEBRTC_WEBCAM_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698