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

Side by Side Diff: content/browser/webrtc/webrtc_media_recorder_browsertest.cc

Issue 2855503002: RELAND: MediaRecorder: enable encode acceleration for VP8 in Android (Closed)
Patch Set: Disable MAYBE_PeerConnection test on Android Created 3 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
« no previous file with comments | « no previous file | content/renderer/media_recorder/video_track_recorder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/macros.h" 6 #include "base/macros.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/browser/webrtc/webrtc_content_browsertest_base.h" 9 #include "content/browser/webrtc/webrtc_content_browsertest_base.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 MakeTypicalCall("testIllegalStartInPausedStateThrowsDOMError();", 146 MakeTypicalCall("testIllegalStartInPausedStateThrowsDOMError();",
147 kMediaRecorderHtmlFile); 147 kMediaRecorderHtmlFile);
148 } 148 }
149 149
150 IN_PROC_BROWSER_TEST_F(WebRtcMediaRecorderTest, 150 IN_PROC_BROWSER_TEST_F(WebRtcMediaRecorderTest,
151 IllegalRequestDataThrowsDOMError) { 151 IllegalRequestDataThrowsDOMError) {
152 MakeTypicalCall("testIllegalRequestDataThrowsDOMError();", 152 MakeTypicalCall("testIllegalRequestDataThrowsDOMError();",
153 kMediaRecorderHtmlFile); 153 kMediaRecorderHtmlFile);
154 } 154 }
155 155
156 #if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER) 156 #if defined(OS_ANDROID)
157 // Parametrizations 1/2 (VP8/VP9+disabled) time out under Android ASAN: 157 // These tests are flakily timing out on emulators (https://crbug.com/716691)
158 // https://crbug.com/693565. 158 // and/or under Android ASAN (https://crbug.com/693565);
159 #define MAYBE_PeerConnection DISABLED_PeerConnection 159 #define MAYBE_PeerConnection DISABLED_PeerConnection
160 #elif defined(OS_LINUX) && defined(THREAD_SANITIZER) 160 #elif defined(OS_LINUX) && defined(THREAD_SANITIZER)
161 // Flaky on Linux TSan, https://crbug.com/694373. 161 // Flaky on Linux TSan, https://crbug.com/694373.
162 #define MAYBE_PeerConnection DISABLED_PeerConnection 162 #define MAYBE_PeerConnection DISABLED_PeerConnection
163 #elif defined(OS_WIN) && !defined(NDEBUG) 163 #elif defined(OS_WIN) && !defined(NDEBUG)
164 // Fails on Win7 debug, https://crbug.com/703844. 164 // Fails on Win7 debug, https://crbug.com/703844.
165 #define MAYBE_PeerConnection DISABLED_PeerConnection 165 #define MAYBE_PeerConnection DISABLED_PeerConnection
166 #else 166 #else
167 #define MAYBE_PeerConnection PeerConnection 167 #define MAYBE_PeerConnection PeerConnection
168 #endif 168 #endif
(...skipping 15 matching lines...) Expand all
184 RemovingTrackFromMediaStreamFiresErrorEvent) { 184 RemovingTrackFromMediaStreamFiresErrorEvent) {
185 MakeTypicalCall("testRemovingTrackFromMediaStreamFiresErrorEvent();", 185 MakeTypicalCall("testRemovingTrackFromMediaStreamFiresErrorEvent();",
186 kMediaRecorderHtmlFile); 186 kMediaRecorderHtmlFile);
187 } 187 }
188 188
189 INSTANTIATE_TEST_CASE_P(, 189 INSTANTIATE_TEST_CASE_P(,
190 WebRtcMediaRecorderTest, 190 WebRtcMediaRecorderTest,
191 testing::ValuesIn(kEncodingParameters)); 191 testing::ValuesIn(kEncodingParameters));
192 192
193 } // namespace content 193 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media_recorder/video_track_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698