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

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

Issue 2753543010: WebRTC: Use the MediaStream Recording API for the audio_quality_browsertest. (Closed)
Patch Set: Addressed comments. Created 3 years, 9 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_COMMON_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_COMMON_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_COMMON_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_COMMON_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // TODO(phoglund): Consider a better interaction method with the javascript 55 // TODO(phoglund): Consider a better interaction method with the javascript
56 // than polling javascript methods. 56 // than polling javascript methods.
57 bool PollingWaitUntil(const std::string& javascript, 57 bool PollingWaitUntil(const std::string& javascript,
58 const std::string& evaluates_to, 58 const std::string& evaluates_to,
59 content::WebContents* tab_contents); 59 content::WebContents* tab_contents);
60 bool PollingWaitUntil(const std::string& javascript, 60 bool PollingWaitUntil(const std::string& javascript,
61 const std::string& evaluates_to, 61 const std::string& evaluates_to,
62 content::WebContents* tab_contents, 62 content::WebContents* tab_contents,
63 int poll_interval_msec); 63 int poll_interval_msec);
64 64
65 // Same as above but we assume the message is a boolean type, thus we wait until
66 // executing |javascript| sends a 'true' message.
67 bool PollingWaitUntil(const std::string& javascript,
68 content::WebContents* tab_contents,
69 int poll_interval_msec);
70
65 } // namespace test 71 } // namespace test
66 72
67 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_COMMON_H_ 73 #endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698