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 { |
(...skipping 27 matching lines...) Expand all Loading... |
38 const std::string& html_file); | 38 const std::string& html_file); |
39 | 39 |
40 // Generates javascript code for a getUserMedia call. | 40 // Generates javascript code for a getUserMedia call. |
41 std::string GenerateGetUserMediaCall(const char* function_name, | 41 std::string GenerateGetUserMediaCall(const char* function_name, |
42 int min_width, | 42 int min_width, |
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 |
| 49 // Synchronously checks if the system has audio output devices. |
| 50 static bool HasAudioOutputDevices(); |
48 }; | 51 }; |
49 | 52 |
50 } // namespace content | 53 } // namespace content |
51 | 54 |
52 #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ | 55 #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_CONTENT_BROWSERTEST_BASE_H_ |
OLD | NEW |