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