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

Issue 2826883002: Rename AdaptiveRendererFactory (Closed)

Created:
3 years, 8 months ago by tguilbert
Modified:
3 years, 7 months ago
Reviewers:
ncarter (slow), miu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, apacible+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, erickung+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename AdaptiveRendererFactory The introduction of the RendererFactorySelector allows us to choose between different types of renderers after WMPI has been created. The AdaptiveRendererFactory currently takes a RendererFactory* as a construction parameter. When creating a Renderer, it chooses between using the passed factory, or creating a CourierRenderer, for remoting. This CL moves the decision logic from the AdaptiveRendererFactory to the RendererFactorySelector, and renames the ARF to the CourierRendererFactory. BUG=716154 TEST= added UTs Review-Url: https://codereview.chromium.org/2826883002 Cr-Commit-Position: refs/heads/master@{#469585} Committed: https://chromium.googlesource.com/chromium/src/+/16d9d7d9ca1db157277bb1170eda38fac52eed7c

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Rebase #

Patch Set 4 : Fix typo #

Patch Set 5 : Minor fixes #

Total comments: 10

Patch Set 6 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -119 lines) Patch
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 2 chunks +13 lines, -5 lines 0 comments Download
M media/base/renderer_factory_selector.h View 1 2 3 4 5 3 chunks +11 lines, -6 lines 0 comments Download
M media/base/renderer_factory_selector.cc View 1 2 3 4 5 1 chunk +16 lines, -14 lines 0 comments Download
M media/base/renderer_factory_selector_unittest.cc View 1 2 3 4 5 3 chunks +22 lines, -0 lines 0 comments Download
M media/remoting/BUILD.gn View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
D media/remoting/adaptive_renderer_factory.h View 1 chunk +0 lines, -40 lines 0 comments Download
D media/remoting/adaptive_renderer_factory.cc View 1 chunk +0 lines, -41 lines 0 comments Download
A + media/remoting/courier_renderer_factory.h View 1 2 3 4 5 3 chunks +13 lines, -11 lines 0 comments Download
A media/remoting/courier_renderer_factory.cc View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (13 generated)
tguilbert
PTAL! miu@ do you have a suggested set of tests to run as a basic ...
3 years, 7 months ago (2017-04-27 20:52:16 UTC) #5
tguilbert
On 2017/04/27 20:52:16, tguilbert wrote: > PTAL! > > miu@ do you have a suggested ...
3 years, 7 months ago (2017-05-01 18:14:56 UTC) #6
miu
Apologies for the delay. Regarding your testing question: We have browser-level tests in the works, ...
3 years, 7 months ago (2017-05-02 22:40:04 UTC) #7
tguilbert
Addressed comments. Thanks! https://codereview.chromium.org/2826883002/diff/120001/media/base/renderer_factory_selector.h File media/base/renderer_factory_selector.h (right): https://codereview.chromium.org/2826883002/diff/120001/media/base/renderer_factory_selector.h#newcode61 media/base/renderer_factory_selector.h:61: UseCourierCB use_courier_cb_; On 2017/05/02 22:40:04, miu ...
3 years, 7 months ago (2017-05-03 01:34:25 UTC) #11
miu
PS6 lgtm. Thanks! :)
3 years, 7 months ago (2017-05-03 21:40:35 UTC) #14
tguilbert
Thank you for the feedback :) nick@, can you OWNERS review RenderFrameImpl? Thanks!
3 years, 7 months ago (2017-05-03 21:49:42 UTC) #16
ncarter (slow)
On 2017/05/03 21:49:42, tguilbert wrote: > Thank you for the feedback :) > > nick@, ...
3 years, 7 months ago (2017-05-03 23:19:15 UTC) #17
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/2826883002/160001
3 years, 7 months ago (2017-05-05 01:28:21 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 03:25:28 UTC) #22
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/16d9d7d9ca1db157277bb1170eda...

Powered by Google App Engine
This is Rietveld 408576698