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

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

Issue 2528253002: Revert of WebRtcBrowserTest: Include all stats in getStats. (Closed)
Patch Set: 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
127 // Exchanges offers and answers between the peer connections in the 125 // Exchanges offers and answers between the peer connections in the
128 // respective tabs. Before calling this, you must have prepared peer 126 // respective tabs. Before calling this, you must have prepared peer
129 // connections in both tabs and configured them as you like (for instance by 127 // connections in both tabs and configured them as you like (for instance by
130 // calling SetupPeerconnectionWithLocalStream). 128 // calling SetupPeerconnectionWithLocalStream).
131 // If |video_codec| is not |kUseDefaultVideoCodec|, the SDP offer is modified 129 // If |video_codec| is not |kUseDefaultVideoCodec|, the SDP offer is modified
132 // (and SDP answer verified) so that the specified video codec (case-sensitive 130 // (and SDP answer verified) so that the specified video codec (case-sensitive
133 // name) is used during the call instead of the default one. 131 // name) is used during the call instead of the default one.
134 void NegotiateCall(content::WebContents* from_tab, 132 void NegotiateCall(content::WebContents* from_tab,
135 content::WebContents* to_tab) const; 133 content::WebContents* to_tab) const;
136 134
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 189 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
192 content::WebContents* tab_contents, 190 content::WebContents* tab_contents,
193 const std::string& constraints) const; 191 const std::string& constraints) const;
194 192
195 bool detect_errors_in_javascript_; 193 bool detect_errors_in_javascript_;
196 194
197 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 195 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
198 }; 196 };
199 197
200 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 198 #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