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

Issue 1466633002: media: Add ProvisionFetcher mojo interface and implementation. (Closed)

Created:
5 years, 1 month ago by xhwang
Modified:
5 years ago
CC:
Aaron Boodman, abarth-chromium, avayvod+watch_chromium.org, ben+mojo_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mlamouri+watch-media_chromium.org, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Add ProvisionFetcher mojo interface and implementation. Add a mojo servive to do provisioning for MediaDrm in a non-browser process. BUG=546107 TEST=Tested running MediaDrmBridge in the GPU process and performing provisioning in the Browser process through this mojo service. Committed: https://crrev.com/ee71a525527d3ae607bb4f0d7a747014d310ecae Cr-Commit-Position: refs/heads/master@{#361521}

Patch Set 1 #

Patch Set 2 : fix gyp bots #

Patch Set 3 : fix gyp #

Patch Set 4 : rebase only #

Total comments: 15

Patch Set 5 : comments addressed #

Patch Set 6 : fix std::move use #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -31 lines) Patch
M content/browser/frame_host/frame_mojo_shell.cc View 1 2 3 4 3 chunks +16 lines, -0 lines 0 comments Download
A content/browser/media/android/provision_fetcher_impl.h View 1 chunk +53 lines, -0 lines 0 comments Download
A content/browser/media/android/provision_fetcher_impl.cc View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M media/mojo/interfaces/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M media/mojo/interfaces/mojo_bindings.gyp View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A media/mojo/interfaces/provision_fetcher.mojom View 1 chunk +18 lines, -0 lines 0 comments Download
M media/mojo/services/BUILD.gn View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M media/mojo/services/android_mojo_media_client.cc View 1 2 3 4 2 chunks +14 lines, -19 lines 0 comments Download
M media/mojo/services/default_mojo_media_client.cc View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_media_client.h View 3 chunks +8 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_media_client.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
A media/mojo/services/mojo_provision_fetcher.h View 1 chunk +42 lines, -0 lines 0 comments Download
A media/mojo/services/mojo_provision_fetcher.cc View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M media/mojo/services/service_factory_impl.cc View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
xhwang
rebase only
5 years, 1 month ago (2015-11-20 21:27:58 UTC) #1
xhwang
rockot: Please review from mojo's perspective. timav: Please review from media's perspective. https://chromiumcodereview.appspot.com/1466633002/diff/60001/content/browser/frame_host/frame_mojo_shell.cc File content/browser/frame_host/frame_mojo_shell.cc ...
5 years, 1 month ago (2015-11-20 22:28:34 UTC) #3
Ken Rockot(use gerrit already)
mojo bits lgtm modulo some nits https://codereview.chromium.org/1466633002/diff/60001/content/browser/frame_host/frame_mojo_shell.cc File content/browser/frame_host/frame_mojo_shell.cc (right): https://codereview.chromium.org/1466633002/diff/60001/content/browser/frame_host/frame_mojo_shell.cc#newcode101 content/browser/frame_host/frame_mojo_shell.cc:101: registry.get(), frame_host_); On ...
5 years ago (2015-11-24 17:35:58 UTC) #4
xhwang
comments addressed
5 years ago (2015-11-24 19:05:22 UTC) #5
xhwang
https://chromiumcodereview.appspot.com/1466633002/diff/60001/content/browser/frame_host/frame_mojo_shell.cc File content/browser/frame_host/frame_mojo_shell.cc (right): https://chromiumcodereview.appspot.com/1466633002/diff/60001/content/browser/frame_host/frame_mojo_shell.cc#newcode101 content/browser/frame_host/frame_mojo_shell.cc:101: registry.get(), frame_host_); On 2015/11/24 17:35:58, Ken Rockot (OOO until ...
5 years ago (2015-11-24 19:43:22 UTC) #6
xhwang
timav: PTAL as well. jam: Please OWNERS review changes in content/browser/frame_host/frame_mojo_shell.cc.
5 years ago (2015-11-24 19:45:44 UTC) #8
Tima Vaisburd
lgtm
5 years ago (2015-11-24 19:49:51 UTC) #9
Ken Rockot(use gerrit already)
https://chromiumcodereview.appspot.com/1466633002/diff/60001/media/mojo/interfaces/provision_fetcher.mojom File media/mojo/interfaces/provision_fetcher.mojom (right): https://chromiumcodereview.appspot.com/1466633002/diff/60001/media/mojo/interfaces/provision_fetcher.mojom#newcode5 media/mojo/interfaces/provision_fetcher.mojom:5: module media.interfaces; On 2015/11/24 at 19:43:21, xhwang wrote: > ...
5 years ago (2015-11-24 20:05:29 UTC) #10
xhwang
On 2015/11/24 20:05:29, Ken Rockot (OOO slow til 12-4) wrote: > https://chromiumcodereview.appspot.com/1466633002/diff/60001/media/mojo/interfaces/provision_fetcher.mojom > File media/mojo/interfaces/provision_fetcher.mojom ...
5 years ago (2015-11-24 20:13:14 UTC) #11
jam
lgtm
5 years ago (2015-11-25 00:04:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1466633002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1466633002/100001
5 years ago (2015-11-25 00:09:40 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-25 02:12:14 UTC) #16
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/ee71a525527d3ae607bb4f0d7a747014d310ecae Cr-Commit-Position: refs/heads/master@{#361521}
5 years ago (2015-11-25 02:12:55 UTC) #17
dominickn
5 years ago (2015-11-25 05:01:08 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1473233005/ by dominickn@chromium.org.

The reason for reverting is: Breaks GN Android compilation with error:

In file included from
../../content/browser/media/android/provision_fetcher_impl.cc:5:
../../content/browser/media/android/provision_fetcher_impl.h:13:10: fatal error:
'media/mojo/interfaces/provision_fetcher.mojom.h' file not found
#include "media/mojo/interfaces/provision_fetcher.mojom.h"

CC=lizeb,tedchoc,xhwang.

Powered by Google App Engine
This is Rietveld 408576698