OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
7 #include "content/browser/web_contents/web_contents_impl.h" | 7 #include "content/browser/web_contents/web_contents_impl.h" |
8 #include "content/public/common/content_switches.h" | 8 #include "content/public/common/content_switches.h" |
9 #include "content/public/test/browser_test_utils.h" | 9 #include "content/public/test/browser_test_utils.h" |
10 #include "content/shell/shell.h" | 10 #include "content/shell/shell.h" |
11 #include "content/test/content_browser_test.h" | 11 #include "content/test/content_browser_test.h" |
12 #include "content/test/content_browser_test_utils.h" | 12 #include "content/test/content_browser_test_utils.h" |
13 #include "net/test/embedded_test_server/embedded_test_server.h" | 13 #include "net/test/embedded_test_server/embedded_test_server.h" |
14 | 14 |
15 #if defined(OS_WIN) | 15 #if defined(OS_WIN) |
16 #include "base/win/windows_version.h" | 16 #include "base/win/windows_version.h" |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CallAndModifyStream) { | 222 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CallAndModifyStream) { |
223 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html")); | 223 GURL url(embedded_test_server()->GetURL("/media/peerconnection-call.html")); |
224 NavigateToURL(shell(), url); | 224 NavigateToURL(shell(), url); |
225 | 225 |
226 EXPECT_TRUE( | 226 EXPECT_TRUE( |
227 ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();")); | 227 ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();")); |
228 ExpectTitle("OK"); | 228 ExpectTitle("OK"); |
229 } | 229 } |
230 | 230 |
231 } // namespace content | 231 } // namespace content |
OLD | NEW |