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

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

Issue 2363673002: Promise-based RTCPeerConnection::getStats implementation. (Closed)
Patch Set: RTCStatsReport.idl behind getStats-flag instead of updating virtual/stable/webexposed/global-interf… Created 4 years, 2 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 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Returns true if we're on win 8. 154 // Returns true if we're on win 8.
155 bool OnWin8() const; 155 bool OnWin8() const;
156 156
157 void OpenDatabase(content::WebContents* tab) const; 157 void OpenDatabase(content::WebContents* tab) const;
158 void CloseDatabase(content::WebContents* tab) const; 158 void CloseDatabase(content::WebContents* tab) const;
159 void DeleteDatabase(content::WebContents* tab) const; 159 void DeleteDatabase(content::WebContents* tab) const;
160 160
161 void GenerateAndCloneCertificate(content::WebContents* tab, 161 void GenerateAndCloneCertificate(content::WebContents* tab,
162 const std::string& keygen_algorithm) const; 162 const std::string& keygen_algorithm) const;
163 163
164 void VerifyStatsGenerated(content::WebContents* tab) const; 164 void VerifyStatsGeneratedCallback(content::WebContents* tab) const;
165 void VerifyStatsGeneratedPromise(content::WebContents* tab) const;
165 166
166 // Change the default video codec in the offer SDP. 167 // Change the default video codec in the offer SDP.
167 void SetDefaultVideoCodec(content::WebContents* tab, 168 void SetDefaultVideoCodec(content::WebContents* tab,
168 const std::string& video_codec) const; 169 const std::string& video_codec) const;
169 170
170 // Add 'usedtx=1' to the offer SDP. 171 // Add 'usedtx=1' to the offer SDP.
171 void EnableOpusDtx(content::WebContents* tab) const; 172 void EnableOpusDtx(content::WebContents* tab) const;
172 173
173 private: 174 private:
174 void CloseInfoBarInTab(content::WebContents* tab_contents, 175 void CloseInfoBarInTab(content::WebContents* tab_contents,
(...skipping 10 matching lines...) Expand all
185 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 186 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
186 content::WebContents* tab_contents, 187 content::WebContents* tab_contents,
187 const std::string& constraints) const; 188 const std::string& constraints) const;
188 189
189 bool detect_errors_in_javascript_; 190 bool detect_errors_in_javascript_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 192 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
192 }; 193 };
193 194
194 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 195 #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