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

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

Issue 2534633002: Preparation CL for WebRTC performance test using promise-based getStats (Closed)
Patch Set: Rename RTCStats[Report]Dictionary to TestStats[Report]Dictionary 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 #include <vector>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h"
13 #include "chrome/browser/media/webrtc/test_stats_dictionary.h"
11 #include "chrome/test/base/in_process_browser_test.h" 14 #include "chrome/test/base/in_process_browser_test.h"
12 15
13 namespace infobars { 16 namespace infobars {
14 class InfoBar; 17 class InfoBar;
15 } 18 }
16 19
17 namespace content { 20 namespace content {
18 class WebContents; 21 class WebContents;
19 } 22 }
20 23
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void OpenDatabase(content::WebContents* tab) const; 162 void OpenDatabase(content::WebContents* tab) const;
160 void CloseDatabase(content::WebContents* tab) const; 163 void CloseDatabase(content::WebContents* tab) const;
161 void DeleteDatabase(content::WebContents* tab) const; 164 void DeleteDatabase(content::WebContents* tab) const;
162 165
163 void GenerateAndCloneCertificate(content::WebContents* tab, 166 void GenerateAndCloneCertificate(content::WebContents* tab,
164 const std::string& keygen_algorithm) const; 167 const std::string& keygen_algorithm) const;
165 168
166 void VerifyStatsGeneratedCallback(content::WebContents* tab) const; 169 void VerifyStatsGeneratedCallback(content::WebContents* tab) const;
167 std::vector<std::string> VerifyStatsGeneratedPromise( 170 std::vector<std::string> VerifyStatsGeneratedPromise(
168 content::WebContents* tab) const; 171 content::WebContents* tab) const;
172 scoped_refptr<content::TestStatsReportDictionary> GetStatsReportDictionary(
173 content::WebContents* tab) const;
169 std::vector<std::string> GetWhitelistedStatsTypes( 174 std::vector<std::string> GetWhitelistedStatsTypes(
170 content::WebContents* tab) const; 175 content::WebContents* tab) const;
171 176
172 // Change the default video codec in the offer SDP. 177 // Change the default video codec in the offer SDP.
173 void SetDefaultVideoCodec(content::WebContents* tab, 178 void SetDefaultVideoCodec(content::WebContents* tab,
174 const std::string& video_codec) const; 179 const std::string& video_codec) const;
175 180
176 // Add 'usedtx=1' to the offer SDP. 181 // Add 'usedtx=1' to the offer SDP.
177 void EnableOpusDtx(content::WebContents* tab) const; 182 void EnableOpusDtx(content::WebContents* tab) const;
178 183
(...skipping 12 matching lines...) Expand all
191 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 196 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
192 content::WebContents* tab_contents, 197 content::WebContents* tab_contents,
193 const std::string& constraints) const; 198 const std::string& constraints) const;
194 199
195 bool detect_errors_in_javascript_; 200 bool detect_errors_in_javascript_;
196 201
197 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 202 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
198 }; 203 };
199 204
200 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 205 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/test_stats_dictionary_unittest.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