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

Issue 1054943004: Refactoring media mime type and supported codec checks (Closed)

Created:
5 years, 8 months ago by servolk
Modified:
5 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, wolenetz, sandersd (OOO until July 31)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring media mime type and supported codec checks BUG=477103

Patch Set 1 #

Patch Set 2 : 2 #

Patch Set 3 : Build fixes #

Patch Set 4 : Unit test fixes #

Patch Set 5 : Change CodecSet to a set of string patterns, instead of enum values #

Patch Set 6 : Removed StringToCodec and string_to_codec_map_ #

Patch Set 7 : Removed CodecEntry struct #

Patch Set 8 : Remove MimeUtil::Codec enum #

Patch Set 9 : Fix compilation on Android #

Patch Set 10 : Hook up IsCodecSupportedOnAndroid #

Patch Set 11 : Make *CodecSupported* functions public (to support external overrides) #

Total comments: 1

Patch Set 12 : Add a few Apple/HLS-specific codec ids for mpeg2ts #

Patch Set 13 : Change CodecSet to a vector of strings, instead of comma-separated string #

Total comments: 19

Patch Set 14 : Addressing CR comments #

Patch Set 15 : Use default std::string constructor instead of empty string literal #

Patch Set 16 : Rebase to ToT #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -255 lines) Patch
M net/base/mime_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +15 lines, -0 lines 0 comments Download
M net/base/mime_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 chunks +139 lines, -255 lines 2 comments Download

Messages

Total messages: 19 (2 generated)
servolk
PTAL
5 years, 8 months ago (2015-04-14 22:49:30 UTC) #2
DaleCurtis
I worry about duplicating these strings everywhere; which I think was the intent of using ...
5 years, 8 months ago (2015-04-15 22:44:31 UTC) #4
servolk
On 2015/04/15 22:44:31, DaleCurtis wrote: > I worry about duplicating these strings everywhere; which I ...
5 years, 8 months ago (2015-04-15 23:23:17 UTC) #5
servolk
On 2015/04/15 23:23:17, servolk wrote: > On 2015/04/15 22:44:31, DaleCurtis wrote: > > I worry ...
5 years, 8 months ago (2015-04-16 02:04:45 UTC) #6
servolk
On 2015/04/16 02:04:45, servolk wrote: > On 2015/04/15 23:23:17, servolk wrote: > > On 2015/04/15 ...
5 years, 8 months ago (2015-04-20 20:53:20 UTC) #7
Ryan Sleevi
Drive by - I'll let David do the more thorough review. I'm definitely nervous about ...
5 years, 8 months ago (2015-04-21 13:23:29 UTC) #8
servolk
Re duplicating strings - we can either define constants for codec ids for which it's ...
5 years, 8 months ago (2015-04-21 22:09:02 UTC) #9
Ryan Sleevi
https://codereview.chromium.org/1054943004/diff/240001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/1054943004/diff/240001/net/base/mime_util.cc#newcode82 net/base/mime_util.cc:82: typedef base::Callback<bool(const std::string&)> IsCodecSupportedCB; On 2015/04/21 22:09:02, servolk wrote: ...
5 years, 8 months ago (2015-04-22 12:59:57 UTC) #10
ddorwin
Not LGTM. I only skimmed it, but it seems clear that this is less maintainable. ...
5 years, 7 months ago (2015-04-30 01:15:03 UTC) #11
lcwu1
On 2015/04/30 01:15:03, ddorwin wrote: > Not LGTM. I only skimmed it, but it seems ...
5 years, 7 months ago (2015-05-20 02:33:37 UTC) #12
ddorwin
Some notes I had made. https://codereview.chromium.org/1054943004/diff/300001/net/base/mime_util.cc File net/base/mime_util.cc (right): https://codereview.chromium.org/1054943004/diff/300001/net/base/mime_util.cc#newcode370 net/base/mime_util.cc:370: {"audio/mp4", kMP4AudioCodecsExpression}, The explicit ...
5 years, 7 months ago (2015-05-22 03:45:33 UTC) #13
ddorwin
On 2015/05/20 02:33:37, lcwu_OOO_05.21-06.06 wrote: > On 2015/04/30 01:15:03, ddorwin wrote: > > Not LGTM. ...
5 years, 7 months ago (2015-05-22 03:52:03 UTC) #14
servolk
On 2015/05/22 03:52:03, ddorwin wrote: > On 2015/05/20 02:33:37, lcwu_OOO_05.21-06.06 wrote: > > On 2015/04/30 ...
5 years, 7 months ago (2015-05-22 20:50:41 UTC) #15
servolk
On 2015/05/22 20:50:41, servolk wrote: > On 2015/05/22 03:52:03, ddorwin wrote: > > On 2015/05/20 ...
5 years, 6 months ago (2015-05-29 02:07:01 UTC) #16
ddorwin
On 2015/05/22 20:50:41, servolk wrote: > Hi David, > Yes, our goal is to keep ...
5 years, 6 months ago (2015-05-29 02:47:41 UTC) #17
Ryan Sleevi
Is this a dead CL? Should it be closed? (Trying to clear out my queue)
5 years, 5 months ago (2015-07-15 22:50:17 UTC) #18
servolk
5 years, 5 months ago (2015-07-15 23:12:28 UTC) #19
On 2015/07/15 22:50:17, Ryan Sleevi (slow through 7-15 wrote:
> Is this a dead CL? Should it be closed?
> 
> (Trying to clear out my queue)

Yes, this CL is dead in its current form, because media mime type checks are no
longer in net/ anyway. So I'll close it for now.
I'll create a separate CL later to provide media codec checks extensibility
hooks, but that's going to be in media/ and we should be able to sort that out
with media/ folks. Thanks!

Powered by Google App Engine
This is Rietveld 408576698