New issue
Advanced search Search tips

Issue 921094 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[Media Router] Don't offer cloud MRP sinks in incognito profiles

Project Member Reported by mfo...@chromium.org, Jan 11

Issue description

The Cloud MRP does not allow media routes to be created to its sinks from incognito profiles.  Since availability code path is identical for normal/incognito, this bug tracks the work to hide them in the browser UI.
 
 
Status: Available (was: Started)
This issue has been marked as started, but has no owner. Making available.
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 11

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9beb97e8bd9f725e5348f6af196e26f62fc4d292

commit 9beb97e8bd9f725e5348f6af196e26f62fc4d292
Author: mark a. foltz <mfoltz@chromium.org>
Date: Fri Jan 11 22:00:19 2019

[Media Router] Don't show cloud sinks for incognito windows.

The Cloud MRP does not support casting to cloud sinks from incognito. This patch
filters them from the Cast dialog.

Other fixes:
 - Use base::EraseIf consistently
 - Replace Equals() with == in MediaSinkWithCastModes
 - Misc IWYU

Internal bug: b/37546693

Bug:  921094 
Change-Id: I1ba7bf52e37f67ed4f6b6df3579ae109932db615
Reviewed-on: https://chromium-review.googlesource.com/c/1406309
Reviewed-by: Takumi Fujimoto <takumif@chromium.org>
Commit-Queue: mark a. foltz <mfoltz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622174}
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/media_router/media_router_ui_base.cc
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/media_router/media_sink_with_cast_modes.cc
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/media_router/media_sink_with_cast_modes.h
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/media_router/query_result_manager_unittest.cc
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/views/media_router/media_router_views_ui.cc
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/views/media_router/media_router_views_ui.h
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/browser/ui/views/media_router/media_router_views_ui_unittest.cc
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/common/media_router/media_sink.cc
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/common/media_router/media_sink.h
[modify] https://crrev.com/9beb97e8bd9f725e5348f6af196e26f62fc4d292/chrome/common/media_router/media_sink_unittest.cc

Cc: rhalavati@chromium.org
Is the effect of this change visible by websites? (Can't be used by a website to find out it's in incognito mode?)
No, we still show cloud sinks as available to the Presentation API in incognito.

If all the cloud sinks are unavailable in the dialog, the user will cancel the presentation request.  But they the user could cancel it anyway even if there are sinks available.


Thank you.
Owner: mfo...@chromium.org
Status: Fixed (was: Available)

Sign in to add a comment