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

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

Issue 166753002: Roll WebRTC 5523:5548. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the bots Created 6 years, 10 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 (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/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "content/browser/media/webrtc_internals.h" 8 #include "content/browser/media/webrtc_internals.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 9 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Flaky on win xp. http://crbug.com/304775 92 // Flaky on win xp. http://crbug.com/304775
93 #if defined(OS_WIN) 93 #if defined(OS_WIN)
94 #define MAYBE_CanForwardRemoteStream DISABLED_CanForwardRemoteStream 94 #define MAYBE_CanForwardRemoteStream DISABLED_CanForwardRemoteStream
95 #define MAYBE_CanForwardRemoteStream720p DISABLED_CanForwardRemoteStream720p 95 #define MAYBE_CanForwardRemoteStream720p DISABLED_CanForwardRemoteStream720p
96 #else 96 #else
97 #define MAYBE_CanForwardRemoteStream CanForwardRemoteStream 97 #define MAYBE_CanForwardRemoteStream CanForwardRemoteStream
98 #define MAYBE_CanForwardRemoteStream720p CanForwardRemoteStream720p 98 #define MAYBE_CanForwardRemoteStream720p CanForwardRemoteStream720p
99 #endif 99 #endif
100 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_CanForwardRemoteStream) { 100 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_CanForwardRemoteStream) {
101 MakeTypicalPeerConnectionCall( 101 MakeTypicalPeerConnectionCall(
102 "callAndForwardRemoteStream({video: true, audio: true});"); 102 "callAndForwardRemoteStream({video: true, audio: false});");
tommi (sloooow) - chröme 2014/02/14 15:33:14 why this change?
Ronghua Wu (Left Chromium) 2014/02/14 16:37:00 I'd like to know as well. Looks like you are worki
tommi (sloooow) - chröme 2014/02/14 17:05:23 Shijing explained this to me offline. The reason i
103 } 103 }
104 104
105 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_CanForwardRemoteStream720p) { 105 IN_PROC_BROWSER_TEST_F(WebRtcBrowserTest, MAYBE_CanForwardRemoteStream720p) {
106 const std::string javascript = GenerateGetUserMediaCall( 106 const std::string javascript = GenerateGetUserMediaCall(
107 "callAndForwardRemoteStream", 1280, 1280, 720, 720, 30, 30); 107 "callAndForwardRemoteStream", 1280, 1280, 720, 720, 30, 30);
108 MakeTypicalPeerConnectionCall(javascript); 108 MakeTypicalPeerConnectionCall(javascript);
109 } 109 }
110 110
111 // This test will make a complete PeerConnection-based call but remove the 111 // This test will make a complete PeerConnection-based call but remove the
112 // MSID and bundle attribute from the initial offer to verify that 112 // MSID and bundle attribute from the initial offer to verify that
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 EXPECT_TRUE(base::PathExists(dump_file)); 372 EXPECT_TRUE(base::PathExists(dump_file));
373 int64 file_size = 0; 373 int64 file_size = 0;
374 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size)); 374 EXPECT_TRUE(base::GetFileSize(dump_file, &file_size));
375 EXPECT_EQ(0, file_size); 375 EXPECT_EQ(0, file_size);
376 376
377 base::DeleteFile(dump_file, false); 377 base::DeleteFile(dump_file, false);
378 } 378 }
379 379
380 } // namespace content 380 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698