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

Issue 2498203004: Move media::mojom::RemoterFactory to content, add ContentBrowserClient API. (Closed)

Created:
4 years, 1 month ago by miu
Modified:
4 years, 1 month ago
CC:
chromium-reviews, Ken Rockot(use gerrit already)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move media::mojom::RemoterFactory to content, add ContentBrowserClient API. This reverts commit face478e9879692bae410d450acceaddf6106532 ("Disable spammy logging in InterfaceRegistry affecting too many people."), and moves the implementation of media::mojom::RemoterFactory to content. From there, embedders (such as Chrome) may optionally override a new ContentBrowserClient::CreateMediaRemoter() method to provide the browser- side media remoting implementation. BUG=664595 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/54dca6cd9ef8e64e8600ed9cb2994e3e8352e514 Cr-Commit-Position: refs/heads/master@{#432839}

Patch Set 1 : Revert https://codereview.chromium.org/2504803002/ #

Patch Set 2 : The fix: Add/register a default RemoterFactory in RenderFrameHostImpl. #

Total comments: 6

Patch Set 3 : Remove unnecessary entry in chrome_content_browser_manifest_overlay.json. #

Patch Set 4 : Move impl of RemoterFactory to content + expose ContentBrowserClient API. #

Total comments: 2

Patch Set 5 : Finer granularity build flag handling in chrome_content_browser_client.cc. #

Patch Set 6 : Add remoting mojo target to build deps for new header file includes. #

Patch Set 7 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -74 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 3 chunks +23 lines, -7 lines 0 comments Download
M chrome/browser/media/cast_remoting_connector.h View 1 2 3 3 chunks +11 lines, -16 lines 0 comments Download
M chrome/browser/media/cast_remoting_connector.cc View 1 2 3 2 chunks +10 lines, -38 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 3 chunks +41 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/lib/interface_registry.cc View 2 chunks +7 lines, -12 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
miu
ben: PTAL. sky: OWNERS stamp for render_frame_host_impl.cc.
4 years, 1 month ago (2016-11-16 02:54:52 UTC) #3
miu
[+cc rockot@]
4 years, 1 month ago (2016-11-16 02:55:23 UTC) #4
Ben Goodger (Google)
https://codereview.chromium.org/2498203004/diff/20001/chrome/browser/chrome_content_browser_manifest_overlay.json File chrome/browser/chrome_content_browser_manifest_overlay.json (right): https://codereview.chromium.org/2498203004/diff/20001/chrome/browser/chrome_content_browser_manifest_overlay.json#newcode55 chrome/browser/chrome_content_browser_manifest_overlay.json:55: "media::mojom::RemoterFactory", If you're exposing this interface in //content this ...
4 years, 1 month ago (2016-11-16 03:58:50 UTC) #5
sky
I'm not an owner of content. I'm removing myself. If you need me for something ...
4 years, 1 month ago (2016-11-16 03:58:54 UTC) #7
miu
nick: PTAL for OWNERS on render_frame_host_impl.cc.
4 years, 1 month ago (2016-11-16 18:49:21 UTC) #9
Ben Goodger (Google)
https://codereview.chromium.org/2498203004/diff/20001/chrome/browser/chrome_content_browser_manifest_overlay.json File chrome/browser/chrome_content_browser_manifest_overlay.json (right): https://codereview.chromium.org/2498203004/diff/20001/chrome/browser/chrome_content_browser_manifest_overlay.json#newcode55 chrome/browser/chrome_content_browser_manifest_overlay.json:55: "media::mojom::RemoterFactory", Scratch this. Looking at content/public/app/mojo/content_browser_manifest.json, it looks like ...
4 years, 1 month ago (2016-11-16 18:56:14 UTC) #10
miu
ben: PS3 and PS4 address your comments. PTAL. nick: Looks like I need a slightly ...
4 years, 1 month ago (2016-11-16 22:30:06 UTC) #12
xhwang
DEPS on media/media_features.h lgtm
4 years, 1 month ago (2016-11-16 22:35:45 UTC) #13
ncarter (slow)
content/ lgtm. I think this is a good solution. https://codereview.chromium.org/2498203004/diff/60001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/2498203004/diff/60001/chrome/browser/chrome_content_browser_client.cc#newcode3248 chrome/browser/chrome_content_browser_client.cc:3248: ...
4 years, 1 month ago (2016-11-16 22:40:59 UTC) #14
miu
ben: LGTY now? (Updated change description to reflect new approach.) https://codereview.chromium.org/2498203004/diff/60001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/2498203004/diff/60001/chrome/browser/chrome_content_browser_client.cc#newcode3248 ...
4 years, 1 month ago (2016-11-16 22:55:03 UTC) #16
Ben Goodger (Google)
lgtm
4 years, 1 month ago (2016-11-16 23:46:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2498203004/120001
4 years, 1 month ago (2016-11-17 09:19:48 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-17 11:00:10 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 11:02:37 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/54dca6cd9ef8e64e8600ed9cb2994e3e8352e514
Cr-Commit-Position: refs/heads/master@{#432839}

Powered by Google App Engine
This is Rietveld 408576698