|
|
Chromium Code Reviews|
Created:
4 years, 2 months ago by xhwang Modified:
4 years, 2 months ago CC:
Aaron Boodman, abarth-chromium, alokp+watch_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptionmedia: Use native CipherMode enum type in media mojo interfaces
BUG=611224
TEST=mojo_media_unittests still pass
Committed: https://crrev.com/90b6ba65d65fe5cb01b137dbdee9e60b689d84e9
Cr-Commit-Position: refs/heads/master@{#425806}
Patch Set 1 #
Total comments: 2
Patch Set 2 : remove hash function definition #
Total comments: 2
Patch Set 3 : rebase only #Patch Set 4 : media: Use native CDM enum types in media mojo interfaces #
Messages
Total messages: 29 (18 generated)
The CQ bit was checked by xhwang@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
xhwang@chromium.org changed reviewers: + rockot@chromium.org
rockot: I have a question. Could you please help take a look? https://chromiumcodereview.appspot.com/2423703002/diff/1/media/base/encryptio... File media/base/encryption_scheme.h (right): https://chromiumcodereview.appspot.com/2423703002/diff/1/media/base/encryptio... media/base/encryption_scheme.h:89: } // namespace std +rockot I have to add this, otherwise, the linker complains that: ../../mojo/public/cpp/bindings/lib/hash_util.h:22: error: undefined reference to 'std::hash<media::EncryptionScheme::CipherMode>::operator()(media::EncryptionScheme::CipherMode) const' I guess this is because I use this native enum in a mojom stuct (see the diff in media_types.mojom), but this is my pure guess. Do you see anything obvious what went wrong?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
https://codereview.chromium.org/2423703002/diff/1/media/base/encryption_scheme.h File media/base/encryption_scheme.h (right): https://codereview.chromium.org/2423703002/diff/1/media/base/encryption_schem... media/base/encryption_scheme.h:89: } // namespace std On 2016/10/15 at 09:13:59, xhwang wrote: > +rockot > > I have to add this, otherwise, the linker complains that: > > ../../mojo/public/cpp/bindings/lib/hash_util.h:22: error: undefined reference to 'std::hash<media::EncryptionScheme::CipherMode>::operator()(media::EncryptionScheme::CipherMode) const' > > I guess this is because I use this native enum in a mojom stuct (see the diff in media_types.mojom), but this is my pure guess. > > Do you see anything obvious what went wrong? I think this will do it: https://codereview.chromium.org/2415293004
On 2016/10/15 15:35:29, Ken Rockot wrote: > https://codereview.chromium.org/2423703002/diff/1/media/base/encryption_scheme.h > File media/base/encryption_scheme.h (right): > > https://codereview.chromium.org/2423703002/diff/1/media/base/encryption_schem... > media/base/encryption_scheme.h:89: } // namespace std > On 2016/10/15 at 09:13:59, xhwang wrote: > > +rockot > > > > I have to add this, otherwise, the linker complains that: > > > > ../../mojo/public/cpp/bindings/lib/hash_util.h:22: error: undefined reference > to > 'std::hash<media::EncryptionScheme::CipherMode>::operator()(media::EncryptionScheme::CipherMode) > const' > > > > I guess this is because I use this native enum in a mojom stuct (see the diff > in media_types.mojom), but this is my pure guess. > > > > Do you see anything obvious what went wrong? > > I think this will do it: https://codereview.chromium.org/2415293004 Cool. Thanks!
The CQ bit was checked by xhwang@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== media: Use native CDM enum types in media mojo interfaces BUG=611224 TEST=mojo_media_unittests still pass ========== to ========== media: Use native CipherMode enum type in media mojo interfaces BUG=611224 TEST=mojo_media_unittests still pass ==========
xhwang@chromium.org changed reviewers: + dcheng@chromium.org, jrummell@chromium.org
dcheng / jrummell: Another one, PTAL FYI: I put this in a separate small CL so that rockot@ can help fix the mojo issue (see previous comment)
lgtm w/nit https://codereview.chromium.org/2423703002/diff/20001/media/mojo/interfaces/m... File media/mojo/interfaces/media_types.typemap (right): https://codereview.chromium.org/2423703002/diff/20001/media/mojo/interfaces/m... media/mojo/interfaces/media_types.typemap:37: "media.mojom.EncryptionScheme.CipherMode=media::EncryptionScheme::CipherMode", Should this be in alphabetical order?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
rebase only
https://chromiumcodereview.appspot.com/2423703002/diff/20001/media/mojo/inter... File media/mojo/interfaces/media_types.typemap (right): https://chromiumcodereview.appspot.com/2423703002/diff/20001/media/mojo/inter... media/mojo/interfaces/media_types.typemap:37: "media.mojom.EncryptionScheme.CipherMode=media::EncryptionScheme::CipherMode", On 2016/10/17 20:17:54, jrummell wrote: > Should this be in alphabetical order? Done.
The CQ bit was checked by xhwang@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm
The CQ bit was unchecked by xhwang@chromium.org
The CQ bit was checked by xhwang@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jrummell@chromium.org Link to the patchset: https://chromiumcodereview.appspot.com/2423703002/#ps60001 (title: "media: Use native CDM enum types in media mojo interfaces")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== media: Use native CipherMode enum type in media mojo interfaces BUG=611224 TEST=mojo_media_unittests still pass ========== to ========== media: Use native CipherMode enum type in media mojo interfaces BUG=611224 TEST=mojo_media_unittests still pass ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== media: Use native CipherMode enum type in media mojo interfaces BUG=611224 TEST=mojo_media_unittests still pass ========== to ========== media: Use native CipherMode enum type in media mojo interfaces BUG=611224 TEST=mojo_media_unittests still pass Committed: https://crrev.com/90b6ba65d65fe5cb01b137dbdee9e60b689d84e9 Cr-Commit-Position: refs/heads/master@{#425806} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/90b6ba65d65fe5cb01b137dbdee9e60b689d84e9 Cr-Commit-Position: refs/heads/master@{#425806} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
