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

Side by Side Diff: content/browser/media/webrtc_browsertest.cc

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
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/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/spawned_test_server.h" 13 #include "net/test/spawned_test_server/spawned_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"
17 #endif 17 #endif
18 18
19 namespace content { 19 namespace content {
20 20
21 class WebrtcBrowserTest: public ContentBrowserTest { 21 class WebrtcBrowserTest: public ContentBrowserTest {
22 public: 22 public:
23 WebrtcBrowserTest() {} 23 WebrtcBrowserTest() {}
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CallAndModifyStream) { 185 IN_PROC_BROWSER_TEST_F(WebrtcBrowserTest, MANUAL_CallAndModifyStream) {
186 GURL url(test_server()->GetURL("files/media/peerconnection-call.html")); 186 GURL url(test_server()->GetURL("files/media/peerconnection-call.html"));
187 NavigateToURL(shell(), url); 187 NavigateToURL(shell(), url);
188 188
189 EXPECT_TRUE( 189 EXPECT_TRUE(
190 ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();")); 190 ExecuteJavascript("callWithNewVideoMediaStreamLaterSwitchToAudio();"));
191 ExpectTitle("OK"); 191 ExpectTitle("OK");
192 } 192 }
193 193
194 } // namespace content 194 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_browsertest.cc ('k') | content/browser/media/webrtc_internals_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698