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

Issue 2470003002: Media Remoting: Add feature to control enabling Media Remoting. (Closed)

Created:
4 years, 1 month ago by xjz
Modified:
4 years, 1 month ago
Reviewers:
xhwang, 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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Remoting: Add feature to control enabling Media Remoting. The feature is enabled by default. BUG=643964

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed xhwang's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -10 lines) Patch
M content/renderer/render_frame_impl.cc View 1 3 chunks +15 lines, -10 lines 0 comments Download
M media/base/media_switches.h View 2 chunks +6 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
xhwang
https://codereview.chromium.org/2470003002/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2470003002/diff/1/content/renderer/render_frame_impl.cc#newcode2776 content/renderer/render_frame_impl.cc:2776: base::WeakPtr<media::MediaObserver> media_observer = nullptr; "= nullptr" not necessary https://codereview.chromium.org/2470003002/diff/1/content/renderer/render_frame_impl.cc#newcode2778 ...
4 years, 1 month ago (2016-11-02 05:18:39 UTC) #2
xjz
Addressed xhwang's comments. PTAL. miu: Do we want to enable this feature by default for ...
4 years, 1 month ago (2016-11-02 17:48:05 UTC) #4
miu
Agree that this feature should be disabled until it's ready-to-launch. ;) IMHO, however, the feature ...
4 years, 1 month ago (2016-11-02 23:35:19 UTC) #5
xhwang
On 2016/11/02 23:35:19, miu wrote: > Agree that this feature should be disabled until it's ...
4 years, 1 month ago (2016-11-02 23:51:21 UTC) #6
xjz
4 years, 1 month ago (2016-11-02 23:57:37 UTC) #7
On 2016/11/02 23:51:21, xhwang wrote:
> On 2016/11/02 23:35:19, miu wrote:
> > Agree that this feature should be disabled until it's ready-to-launch. ;)
> > 
> > IMHO, however, the feature switch should be placed at the top-level, browser
> > side (e.g., CastRemotingConnector). Note that, for now, none of this feature
> can
> > activate without the MR extension code in-place (i.e., the "sink available"
> > notification will never occur); and I'm still in the middle of writing that.
> In
> > the meantime, it is useful to have some of the object graph and code paths
> > running in release build (think "dark launch"), to ensure there aren't any
> > robustness or performance regressions for the more-common, non-mirroring
> usage.
> > 
> > So, before the MR extension code is deployed, we *would* want to add a
feature
> > switch. I was planning on doing this browser-side (in
> > chrome/browser/media/cast_remoting_connector.cc) alongside other code
changes
> we
> > will be making for Finch experiments.
> 
> sgtm
> 
> The base::Feature itself can still live in media_switches.*. But you can also
> choose to enable/disable some browser side features as well.

Thanks xhwang for reviewing this. As commented by miu, we will put off adding 
this feature before the MR extension code is deployed. So close this CL for now.

Powered by Google App Engine
This is Rietveld 408576698