Chromium Code Reviews| Index: chrome/browser/media/webrtc_browsertest_base.h |
| diff --git a/chrome/browser/media/webrtc_browsertest_base.h b/chrome/browser/media/webrtc_browsertest_base.h |
| index 68fd0e717655f10c41d811210f69385e325bccb9..feb0292b5eeee358c98b2589e9a2cd6c1f28eb74 100644 |
| --- a/chrome/browser/media/webrtc_browsertest_base.h |
| +++ b/chrome/browser/media/webrtc_browsertest_base.h |
| @@ -129,10 +129,8 @@ class WebRtcTestBase : public InProcessBrowserTest { |
| // If |video_codec| is not |kUseDefaultVideoCodec|, the SDP offer is modified |
| // (and SDP answer verified) so that the specified video codec (case-sensitive |
| // name) is used during the call instead of the default one. |
| - void NegotiateCall( |
| - content::WebContents* from_tab, |
| - content::WebContents* to_tab, |
| - const std::string& video_codec = kUseDefaultVideoCodec) const; |
| + void NegotiateCall(content::WebContents* from_tab, |
| + content::WebContents* to_tab) const; |
| // Hangs up a negotiated call. |
| void HangUp(content::WebContents* from_tab) const; |
| @@ -166,17 +164,19 @@ class WebRtcTestBase : public InProcessBrowserTest { |
| void GenerateAndCloneCertificate(content::WebContents* tab, |
| const std::string& keygen_algorithm) const; |
| + // Change the default video codec in the offer SDP. |
| + void SetDefaultVideoCodec(content::WebContents* tab, |
| + const std::string& video_codec) const; |
| + // Add 'usedtx=1' to the offer SDP. |
|
phoglund_chromium
2016/07/28 06:39:01
Nit: blank line before #170
Ivo-OOO until feb 6
2016/07/28 12:29:31
Done.
|
| + void EnableOpusDtx(content::WebContents* tab) const; |
| + |
| private: |
| void CloseInfoBarInTab(content::WebContents* tab_contents, |
| infobars::InfoBar* infobar) const; |
| - std::string CreateLocalOffer( |
| - content::WebContents* from_tab, |
| - std::string default_video_codec = kUseDefaultVideoCodec) const; |
| - std::string CreateAnswer( |
| - std::string local_offer, |
| - content::WebContents* to_tab, |
| - std::string default_video_codec = kUseDefaultVideoCodec) const; |
| + std::string CreateLocalOffer(content::WebContents* from_tab) const; |
| + std::string CreateAnswer(std::string local_offer, |
| + content::WebContents* to_tab) const; |
| void ReceiveAnswer(const std::string& answer, |
| content::WebContents* from_tab) const; |
| void GatherAndSendIceCandidates(content::WebContents* from_tab, |