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

Side by Side Diff: content/browser/webrtc/webrtc_content_browsertest_base.h

Issue 2801983003: Switching WebRTC browser test from AudioManager::HasAudioOutputDevices() to AudioSystem interface. (Closed)
Patch Set: moved HasAudioOutputDevices() to WebRtcContentBrowserTestBase Created 3 years, 8 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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698