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

Issue 27230004: Do not run MSE related tests when MSE is not available. (Closed)

Created:
7 years, 2 months ago by xhwang
Modified:
7 years, 2 months ago
Reviewers:
qinmin, jam, ddorwin
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, wjia+watch_chromium.org, darin-cc_chromium.org, sky
Visibility:
Public.

Description

Do not run MSE related tests when MSE is not available. BUG=304956 TEST=This make MSE related tests doesn't run on unsupported platform/devices. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229610

Patch Set 1 #

Total comments: 11

Patch Set 2 : Check MediaCodecBridge Availability #

Total comments: 6

Patch Set 3 : Address Comments #

Total comments: 6

Patch Set 4 : Address Comments #

Total comments: 2

Patch Set 5 : rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -32 lines) Patch
M build/android/pylib/gtest/filter/content_browsertests_disabled View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 5 chunks +42 lines, -12 lines 0 comments Download
M content/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 5 chunks +31 lines, -7 lines 0 comments Download
M content/browser/media/media_source_browsertest.cc View 1 2 3 4 2 chunks +26 lines, -3 lines 0 comments Download
M content/child/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
xhwang
ddorwin/qinmin/sky: This CL violated DEPS rule so it's not ready for review. Please see my ...
7 years, 2 months ago (2013-10-14 20:12:47 UTC) #1
qinmin
https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode14 chrome/browser/media/encrypted_media_browsertest.cc:14: #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" Maybe add a function IsMSESupported() somewhere in ...
7 years, 2 months ago (2013-10-14 20:59:45 UTC) #2
ddorwin
https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode14 chrome/browser/media/encrypted_media_browsertest.cc:14: #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" On 2013/10/14 20:59:45, qinmin wrote: > Maybe ...
7 years, 2 months ago (2013-10-14 21:30:33 UTC) #3
xhwang
Check MediaCodecBridge Availability
7 years, 2 months ago (2013-10-16 07:57:06 UTC) #4
xhwang
This still involves a DEPS change. I can revert the change in runtime_features.cc to avoid ...
7 years, 2 months ago (2013-10-16 07:58:39 UTC) #5
ddorwin
https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode14 chrome/browser/media/encrypted_media_browsertest.cc:14: #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" On 2013/10/16 07:58:40, xhwang wrote: > On ...
7 years, 2 months ago (2013-10-16 20:17:16 UTC) #6
xhwang
Address Comments
7 years, 2 months ago (2013-10-16 21:40:59 UTC) #7
xhwang
PTAL again. https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode133 chrome/browser/media/encrypted_media_browsertest.cc:133: if (src_type == MSE && On 2013/10/16 ...
7 years, 2 months ago (2013-10-16 21:41:16 UTC) #8
qinmin
https://codereview.chromium.org/27230004/diff/20001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/20001/chrome/browser/media/encrypted_media_browsertest.cc#newcode108 chrome/browser/media/encrypted_media_browsertest.cc:108: if (base::android::BuildInfo::GetInstance()->sdk_int() < 16) { make this a static ...
7 years, 2 months ago (2013-10-16 22:14:34 UTC) #9
xhwang
jam@: PTAL at content/child/*. This new check is more accurate and less hacky than the ...
7 years, 2 months ago (2013-10-16 22:34:44 UTC) #10
ddorwin
lgtm % nit https://codereview.chromium.org/27230004/diff/20001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/20001/chrome/browser/media/encrypted_media_browsertest.cc#newcode109 chrome/browser/media/encrypted_media_browsertest.cc:109: LOG(INFO) << "Skipping test - MSE ...
7 years, 2 months ago (2013-10-16 22:51:46 UTC) #11
jam
lgtm
7 years, 2 months ago (2013-10-16 23:26:19 UTC) #12
xhwang
Address Comments
7 years, 2 months ago (2013-10-17 00:43:20 UTC) #13
xhwang
ddorwin/qinmin: The change is not trivial. PTAL again. https://codereview.chromium.org/27230004/diff/20001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/20001/chrome/browser/media/encrypted_media_browsertest.cc#newcode108 chrome/browser/media/encrypted_media_browsertest.cc:108: if ...
7 years, 2 months ago (2013-10-17 00:46:19 UTC) #14
ddorwin
lgtm % nit https://codereview.chromium.org/27230004/diff/32001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/27230004/diff/32001/chrome/browser/media/encrypted_media_browsertest.cc#newcode66 chrome/browser/media/encrypted_media_browsertest.cc:66: LOG(INFO) << "MSE is only supported ...
7 years, 2 months ago (2013-10-17 00:59:56 UTC) #15
xhwang
qinmin: ping
7 years, 2 months ago (2013-10-17 17:47:49 UTC) #16
qinmin
lgtm. Sorry, i thought I lgtm'ed this
7 years, 2 months ago (2013-10-17 18:22:29 UTC) #17
xhwang
rebase only
7 years, 2 months ago (2013-10-19 07:35:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/27230004/45001
7 years, 2 months ago (2013-10-19 08:07:57 UTC) #19
commit-bot: I haz the power
7 years, 2 months ago (2013-10-19 18:28:07 UTC) #20
Message was sent while issue was closed.
Change committed as 229610

Powered by Google App Engine
This is Rietveld 408576698