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

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: 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 <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h"
13 #include "base/values.h"
hbos_chromium 2016/11/30 11:30:56 nits: The include for values.h should be moved to
14 #include "chrome/browser/media/webrtc/rtc_stats_dictionary.h"
11 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
12 16
13 namespace infobars { 17 namespace infobars {
14 class InfoBar; 18 class InfoBar;
15 } 19 }
16 20
17 namespace content { 21 namespace content {
18 class WebContents; 22 class WebContents;
19 } 23 }
20 24
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void OpenDatabase(content::WebContents* tab) const; 163 void OpenDatabase(content::WebContents* tab) const;
160 void CloseDatabase(content::WebContents* tab) const; 164 void CloseDatabase(content::WebContents* tab) const;
161 void DeleteDatabase(content::WebContents* tab) const; 165 void DeleteDatabase(content::WebContents* tab) const;
162 166
163 void GenerateAndCloneCertificate(content::WebContents* tab, 167 void GenerateAndCloneCertificate(content::WebContents* tab,
164 const std::string& keygen_algorithm) const; 168 const std::string& keygen_algorithm) const;
165 169
166 void VerifyStatsGeneratedCallback(content::WebContents* tab) const; 170 void VerifyStatsGeneratedCallback(content::WebContents* tab) const;
167 std::vector<std::string> VerifyStatsGeneratedPromise( 171 std::vector<std::string> VerifyStatsGeneratedPromise(
168 content::WebContents* tab) const; 172 content::WebContents* tab) const;
173 scoped_refptr<content::RTCStatsReportDictionary> GetStatsReportDictionary(
174 content::WebContents* tab) const;
169 std::vector<std::string> GetWhitelistedStatsTypes( 175 std::vector<std::string> GetWhitelistedStatsTypes(
170 content::WebContents* tab) const; 176 content::WebContents* tab) const;
171 177
172 // Change the default video codec in the offer SDP. 178 // Change the default video codec in the offer SDP.
173 void SetDefaultVideoCodec(content::WebContents* tab, 179 void SetDefaultVideoCodec(content::WebContents* tab,
174 const std::string& video_codec) const; 180 const std::string& video_codec) const;
175 181
176 // Add 'usedtx=1' to the offer SDP. 182 // Add 'usedtx=1' to the offer SDP.
177 void EnableOpusDtx(content::WebContents* tab) const; 183 void EnableOpusDtx(content::WebContents* tab) const;
178 184
(...skipping 12 matching lines...) Expand all
191 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 197 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
192 content::WebContents* tab_contents, 198 content::WebContents* tab_contents,
193 const std::string& constraints) const; 199 const std::string& constraints) const;
194 200
195 bool detect_errors_in_javascript_; 201 bool detect_errors_in_javascript_;
196 202
197 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 203 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
198 }; 204 };
199 205
200 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 206 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698