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

Issue 1920983002: [Media Router] Ensure the same FeatureSwitch is used for lifetime of the browser. (Closed)

Created:
4 years, 8 months ago by imcheng
Modified:
4 years, 8 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

[Media Router] Ensure the same FeatureSwitch is used for lifetime of the browser. We noticed that with Cast Extension enabled, the component action toolbar logic will end up using the EnableMediaRouterWithCastExtension field trial during the call to MediaRouterEnabled(). If so, the Cast Extension will be unloaded. Code executed subsequently use EnableMediaRouter field trial during the call to MediaRouterEnabled(). This could be a problem for users with certain field trial group configurations and results in inconsistencies (e.g., has Cast button in toolbar, but opens error page when clicked due to WebUI not found). The decision is to no longer rely on the EMRWCE field trial. For one, the mechanism to switch on BrowserContext to return the correct field trial consistently require a complicated mechanism, and we will still end up with some corner cases that result in strange behavior. In addition, having both field trials make analyzing the data more difficult. BUG=605165 Review URL: https://codereview.chromium.org/1907673002 Cr-Commit-Position: refs/heads/master@{#389175} (cherry picked from commit f735fb21eb9fdc1cade2b8a30217b8c5dc626b90) Committed: https://chromium.googlesource.com/chromium/src/+/06fe70eb19d9727172c03eba2a8cbeb2d13b90ea

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -19 lines) Patch
M chrome/browser/media/router/media_router_feature.cc View 2 chunks +0 lines, -19 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
imcheng
4 years, 8 months ago (2016-04-25 17:30:52 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
06fe70eb19d9727172c03eba2a8cbeb2d13b90ea (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698