| OLD | NEW |
| 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 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 bool OnWin8() const; | 161 bool OnWin8() const; |
| 162 | 162 |
| 163 void OpenDatabase(content::WebContents* tab) const; | 163 void OpenDatabase(content::WebContents* tab) const; |
| 164 void CloseDatabase(content::WebContents* tab) const; | 164 void CloseDatabase(content::WebContents* tab) const; |
| 165 void DeleteDatabase(content::WebContents* tab) const; | 165 void DeleteDatabase(content::WebContents* tab) const; |
| 166 | 166 |
| 167 void GenerateAndCloneCertificate(content::WebContents* tab, | 167 void GenerateAndCloneCertificate(content::WebContents* tab, |
| 168 const std::string& keygen_algorithm) const; | 168 const std::string& keygen_algorithm) const; |
| 169 | 169 |
| 170 void VerifyStatsGeneratedCallback(content::WebContents* tab) const; | 170 void VerifyStatsGeneratedCallback(content::WebContents* tab) const; |
| 171 double MeasureGetStatsCallbackPerformance(content::WebContents* tab) const; |
| 171 std::vector<std::string> VerifyStatsGeneratedPromise( | 172 std::vector<std::string> VerifyStatsGeneratedPromise( |
| 172 content::WebContents* tab) const; | 173 content::WebContents* tab) const; |
| 173 scoped_refptr<content::TestStatsReportDictionary> GetStatsReportDictionary( | 174 scoped_refptr<content::TestStatsReportDictionary> GetStatsReportDictionary( |
| 174 content::WebContents* tab) const; | 175 content::WebContents* tab) const; |
| 176 double MeasureGetStatsPerformance(content::WebContents* tab) const; |
| 175 std::vector<std::string> GetWhitelistedStatsTypes( | 177 std::vector<std::string> GetWhitelistedStatsTypes( |
| 176 content::WebContents* tab) const; | 178 content::WebContents* tab) const; |
| 177 | 179 |
| 178 // Change the default audio/video codec in the offer SDP. | 180 // Change the default audio/video codec in the offer SDP. |
| 179 void SetDefaultAudioCodec(content::WebContents* tab, | 181 void SetDefaultAudioCodec(content::WebContents* tab, |
| 180 const std::string& audio_codec) const; | 182 const std::string& audio_codec) const; |
| 181 void SetDefaultVideoCodec(content::WebContents* tab, | 183 void SetDefaultVideoCodec(content::WebContents* tab, |
| 182 const std::string& video_codec) const; | 184 const std::string& video_codec) const; |
| 183 | 185 |
| 184 // Add 'usedtx=1' to the offer SDP. | 186 // Add 'usedtx=1' to the offer SDP. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 199 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( | 201 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( |
| 200 content::WebContents* tab_contents, | 202 content::WebContents* tab_contents, |
| 201 const std::string& constraints) const; | 203 const std::string& constraints) const; |
| 202 | 204 |
| 203 bool detect_errors_in_javascript_; | 205 bool detect_errors_in_javascript_; |
| 204 | 206 |
| 205 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); | 207 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); |
| 206 }; | 208 }; |
| 207 | 209 |
| 208 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ | 210 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ |
| OLD | NEW |