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

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

Issue 2602873002: Disabling WebRtcAudioQualityBrowserTest for Win 7 (Closed)
Patch Set: nit Created 3 years, 11 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 #include <vector> 9 #include <vector>
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // chrome/test/data/webrtc/video_detector.js and its dependencies loaded to 150 // chrome/test/data/webrtc/video_detector.js and its dependencies loaded to
151 // make that work). Looks at a 320x240 area of the target video tag. 151 // make that work). Looks at a 320x240 area of the target video tag.
152 void StartDetectingVideo(content::WebContents* tab_contents, 152 void StartDetectingVideo(content::WebContents* tab_contents,
153 const std::string& video_element) const; 153 const std::string& video_element) const;
154 bool WaitForVideoToPlay(content::WebContents* tab_contents) const; 154 bool WaitForVideoToPlay(content::WebContents* tab_contents) const;
155 155
156 // Returns the stream size as a string on the format <width>x<height>. 156 // Returns the stream size as a string on the format <width>x<height>.
157 std::string GetStreamSize(content::WebContents* tab_contents, 157 std::string GetStreamSize(content::WebContents* tab_contents,
158 const std::string& video_element) const; 158 const std::string& video_element) const;
159 159
160 // Returns true if we're on Windows 7.
161 bool OnWin7() const;
162
160 // Returns true if we're on win 8. 163 // Returns true if we're on win 8.
161 bool OnWin8() const; 164 bool OnWin8() const;
162 165
163 void OpenDatabase(content::WebContents* tab) const; 166 void OpenDatabase(content::WebContents* tab) const;
164 void CloseDatabase(content::WebContents* tab) const; 167 void CloseDatabase(content::WebContents* tab) const;
165 void DeleteDatabase(content::WebContents* tab) const; 168 void DeleteDatabase(content::WebContents* tab) const;
166 169
167 void GenerateAndCloneCertificate(content::WebContents* tab, 170 void GenerateAndCloneCertificate(content::WebContents* tab,
168 const std::string& keygen_algorithm) const; 171 const std::string& keygen_algorithm) const;
169 172
(...skipping 29 matching lines...) Expand all
199 infobars::InfoBar* GetUserMediaAndWaitForInfoBar( 202 infobars::InfoBar* GetUserMediaAndWaitForInfoBar(
200 content::WebContents* tab_contents, 203 content::WebContents* tab_contents,
201 const std::string& constraints) const; 204 const std::string& constraints) const;
202 205
203 bool detect_errors_in_javascript_; 206 bool detect_errors_in_javascript_;
204 207
205 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase); 208 DISALLOW_COPY_AND_ASSIGN(WebRtcTestBase);
206 }; 209 };
207 210
208 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_ 211 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698