| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ | 5 #ifndef CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ |
| 6 #define CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ | 6 #define CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ |
| 7 | 7 |
| 8 #include "content/public/test/content_browser_test.h" | 8 #include "content/public/test/content_browser_test.h" |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 class CommandLine; | 11 class CommandLine; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 // Contains stuff WebRTC browsertests have in common. | 16 // Contains stuff WebRTC browsertests have in common. |
| 17 class WebRtcContentBrowserTest: public ContentBrowserTest { | 17 class WebRtcContentBrowserTestBase : public ContentBrowserTest { |
| 18 public: | 18 public: |
| 19 void SetUpCommandLine(base::CommandLine* command_line) override; | 19 void SetUpCommandLine(base::CommandLine* command_line) override; |
| 20 void SetUp() override; | 20 void SetUp() override; |
| 21 void TearDown() override; | 21 void TearDown() override; |
| 22 | 22 |
| 23 protected: | 23 protected: |
| 24 // Helper function to append "--use-fake-ui-for-media-stream". | 24 // Helper function to append "--use-fake-ui-for-media-stream". |
| 25 void AppendUseFakeUIForMediaStreamFlag(); | 25 void AppendUseFakeUIForMediaStreamFlag(); |
| 26 | 26 |
| 27 // Executes |javascript|. The script is required to use | 27 // Executes |javascript|. The script is required to use |
| (...skipping 15 matching lines...) Expand all Loading... |
| 43 int max_width, | 43 int max_width, |
| 44 int min_height, | 44 int min_height, |
| 45 int max_height, | 45 int max_height, |
| 46 int min_frame_rate, | 46 int min_frame_rate, |
| 47 int max_frame_rate) const; | 47 int max_frame_rate) const; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace content | 50 } // namespace content |
| 51 | 51 |
| 52 #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ | 52 #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ |
| OLD | NEW |