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

Side by Side Diff: chrome/browser/media/webrtc/webrtc_browsertest_base.h

Issue 2533223003: Reland of "WebRtcBrowserTest: Include all stats in getStats." (Closed)
Patch Set: Whitelist the 'missing' stats Created 4 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Same as |SetupPeerconnectionWithLocalStream| except a certificate is 115 // Same as |SetupPeerconnectionWithLocalStream| except a certificate is
116 // specified, which is a reference to an |RTCCertificate| object. 116 // specified, which is a reference to an |RTCCertificate| object.
117 void SetupPeerconnectionWithCertificateAndLocalStream( 117 void SetupPeerconnectionWithCertificateAndLocalStream(
118 content::WebContents* tab, 118 content::WebContents* tab,
119 const std::string& certificate) const; 119 const std::string& certificate) const;
120 // Same as above but does not add the local stream. 120 // Same as above but does not add the local stream.
121 void SetupPeerconnectionWithCertificateWithoutLocalStream( 121 void SetupPeerconnectionWithCertificateWithoutLocalStream(
122 content::WebContents* tab, 122 content::WebContents* tab,
123 const std::string& certificate) const; 123 const std::string& certificate) const;
124 124
125 void CreateDataChannel(content::WebContents* tab, const std::string& label);
126
125 // Exchanges offers and answers between the peer connections in the 127 // Exchanges offers and answers between the peer connections in the
126 // respective tabs. Before calling this, you must have prepared peer 128 // respective tabs. Before calling this, you must have prepared peer
127 // connections in both tabs and configured them as you like (for instance by 129 // connections in both tabs and configured them as you like (for instance by
128 // calling SetupPeerconnectionWithLocalStream). 130 // calling SetupPeerconnectionWithLocalStream).
129 // If |video_codec| is not |kUseDefaultVideoCodec|, the SDP offer is modified 131 // If |video_codec| is not |kUseDefaultVideoCodec|, the SDP offer is modified
130 // (and SDP answer verified) so that the specified video codec (case-sensitive 132 // (and SDP answer verified) so that the specified video codec (case-sensitive
131 // name) is used during the call instead of the default one. 133 // name) is used during the call instead of the default one.
132 void NegotiateCall(content::WebContents* from_tab, 134 void NegotiateCall(content::WebContents* from_tab,
133 content::WebContents* to_tab) const; 135 content::WebContents* to_tab) const;
134 136
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 191 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
190 content::WebContents* tab_contents, 192 content::WebContents* tab_contents,
191 const std::string& constraints) const; 193 const std::string& constraints) const;
192 194
193 bool detect_errors_in_javascript_; 195 bool detect_errors_in_javascript_;
194 196
195 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 197 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
196 }; 198 };
197 199
198 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 200 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest.cc ('k') | chrome/browser/media/webrtc/webrtc_browsertest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698