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

Issue 2451573003: [Media Router] Update Media Router flags post-launch. (Closed)

Created:
4 years, 1 month ago by mark a. foltz
Modified:
4 years, 1 month ago
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, media-router+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router] Update Media Router flags post-launch. - Remove --media-router flag as this functionality has shipped (crbug.com/651255) - Remove lots of GOOGLE_CHROME_BUILD #ifdefs around cloud services (crbug.com/646171) - Adds a --load-media-router-component-extension flag to control loading of the Media Router component. This is default on in Chrome and default off in Chromium. (crbug.com/646170) BUG=646170, 646171, 651255 Committed: https://crrev.com/ac0030f5d07e66752b93695bc373bcb55ab26602 Cr-Commit-Position: refs/heads/master@{#428493}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Remove references to media_router switch in tests #

Patch Set 3 : Address apacible@ comments #

Patch Set 4 : Remove Cast-extension-specific browser test #

Total comments: 11

Patch Set 5 : Respond to msw@ comments. Update histograms.xml for new flag. #

Total comments: 4

Patch Set 6 : Rebase & respond to apacible@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -449 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/app/media_router_strings.grdp View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_model_unittest.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/external_component_loader.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/media/router/media_router_feature.cc View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc View 1 2 3 1 chunk +0 lines, -297 lines 0 comments Download
M chrome/browser/ui/location_bar/location_bar_browsertest.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/toolbar/browser_actions_bar_browsertest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/toolbar/media_router_contextual_menu.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/media_router_contextual_menu.cc View 9 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc View 1 2 3 4 5 4 chunks +12 lines, -16 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc View 1 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_image_view_interactive_uitest.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc View 1 3 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_localized_strings_provider.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_test.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_test.cc View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc View 6 chunks +6 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_webui_message_handler_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/media_router/media_router_base_browsertest.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/test/media_router/media_router_base_browsertest.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M extensions/common/feature_switch.h View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/common/feature_switch.cc View 4 chunks +15 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 45 (18 generated)
mark a. foltz
PTAL, thanks apacible@: everything anthonyvd@: profile.cc grt@: command_ids.h msw@: chrome/browser/ui/toolbar/* rdevlin.cronin@: extensions/*, chrome/browser/extensions/*
4 years, 1 month ago (2016-10-25 19:03:25 UTC) #2
Devlin
https://codereview.chromium.org/2451573003/diff/1/extensions/common/feature_switch.cc File extensions/common/feature_switch.cc (right): https://codereview.chromium.org/2451573003/diff/1/extensions/common/feature_switch.cc#newcode55 extensions/common/feature_switch.cc:55: kLoadMediaRouterComponentExtensionFlag, Do we want chrome users to be able ...
4 years, 1 month ago (2016-10-25 20:38:02 UTC) #7
anthonyvd
c/b/profiles/profile.cc lgtm
4 years, 1 month ago (2016-10-25 20:44:22 UTC) #8
mark a. foltz
On 2016/10/25 at 20:38:02, rdevlin.cronin wrote: > https://codereview.chromium.org/2451573003/diff/1/extensions/common/feature_switch.cc > File extensions/common/feature_switch.cc (right): > > https://codereview.chromium.org/2451573003/diff/1/extensions/common/feature_switch.cc#newcode55 ...
4 years, 1 month ago (2016-10-25 21:06:10 UTC) #9
apacible
wrt ungating cloud services - should we check if kLoadMediaRouterComponentExtension is true if it's a ...
4 years, 1 month ago (2016-10-25 22:01:28 UTC) #10
Devlin
On 2016/10/25 21:06:10, mark a. foltz wrote: > On 2016/10/25 at 20:38:02, rdevlin.cronin wrote: > ...
4 years, 1 month ago (2016-10-25 22:04:43 UTC) #11
mark a. foltz
On 2016/10/25 at 22:04:43, rdevlin.cronin wrote: > On 2016/10/25 21:06:10, mark a. foltz wrote: > ...
4 years, 1 month ago (2016-10-25 22:44:33 UTC) #12
Devlin
extensions lgtm
4 years, 1 month ago (2016-10-25 22:54:07 UTC) #13
mark a. foltz
On 2016/10/25 at 22:01:28, apacible wrote: > wrt ungating cloud services - should we check ...
4 years, 1 month ago (2016-10-25 22:56:22 UTC) #14
mark a. foltz
https://codereview.chromium.org/2451573003/diff/1/chrome/app/media_router_strings.grdp File chrome/app/media_router_strings.grdp (right): https://codereview.chromium.org/2451573003/diff/1/chrome/app/media_router_strings.grdp#newcode79 chrome/app/media_router_strings.grdp:79: Enable casting to cloud-based services like Google Hangouts. On ...
4 years, 1 month ago (2016-10-25 22:56:36 UTC) #15
mark a. foltz
+grt for chrome_command_ids.h (for real) +sky for chrome/browser/ui/ash
4 years, 1 month ago (2016-10-25 23:48:26 UTC) #17
sky
Nuking chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc LGTM
4 years, 1 month ago (2016-10-25 23:54:48 UTC) #18
grt (UTC plus 2)
chrome/app/chrome_command_ids.h lgtm
4 years, 1 month ago (2016-10-26 08:04:28 UTC) #23
apacible
wrt 646171 - are you planning on adding the "no component extension" issue messaging in ...
4 years, 1 month ago (2016-10-26 15:39:14 UTC) #24
Stephen
On 2016/10/26 15:39:14, apacible wrote: > wrt 646171 - are you planning on adding the ...
4 years, 1 month ago (2016-10-27 17:02:46 UTC) #25
msw
c/b/ui/lgtm with nits https://codereview.chromium.org/2451573003/diff/60001/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc File chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc (left): https://codereview.chromium.org/2451573003/diff/60001/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc#oldcode5 chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc:5: #include "ash/common/system/cast/tray_cast.h" Should we wait to ...
4 years, 1 month ago (2016-10-27 18:14:32 UTC) #26
jdufault
https://codereview.chromium.org/2451573003/diff/60001/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc File chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc (left): https://codereview.chromium.org/2451573003/diff/60001/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc#oldcode5 chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc:5: #include "ash/common/system/cast/tray_cast.h" On 2016/10/27 18:14:31, msw wrote: > Should ...
4 years, 1 month ago (2016-10-27 18:38:08 UTC) #27
mark a. foltz
https://codereview.chromium.org/2451573003/diff/60001/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc File chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc (left): https://codereview.chromium.org/2451573003/diff/60001/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc#oldcode5 chrome/browser/ui/ash/system_tray_tray_cast_browsertest_chromeos.cc:5: #include "ash/common/system/cast/tray_cast.h" On 2016/10/27 at 18:38:08, jdufault wrote: > ...
4 years, 1 month ago (2016-10-27 20:16:50 UTC) #28
mark a. foltz
+isherman for histograms.xml
4 years, 1 month ago (2016-10-27 20:17:34 UTC) #30
mark a. foltz
On 2016/10/26 at 15:39:14, apacible wrote: > wrt 646171 - are you planning on adding ...
4 years, 1 month ago (2016-10-27 20:26:25 UTC) #31
Ilya Sherman
histograms.xml lgtm
4 years, 1 month ago (2016-10-27 21:53:51 UTC) #34
japacible
On 2016/10/27 17:02:46, Stephen wrote: > On 2016/10/26 15:39:14, apacible wrote: > > wrt 646171 ...
4 years, 1 month ago (2016-10-27 22:08:02 UTC) #35
apacible
LGTM https://codereview.chromium.org/2451573003/diff/80001/chrome/browser/media/router/media_router_feature.cc File chrome/browser/media/router/media_router_feature.cc (right): https://codereview.chromium.org/2451573003/diff/80001/chrome/browser/media/router/media_router_feature.cc#newcode43 chrome/browser/media/router/media_router_feature.cc:43: #else // !(defined(OS_ANDROID) || defined(ENABLE_EXTENSIONS)) Could we do: ...
4 years, 1 month ago (2016-10-28 02:42:37 UTC) #38
mark a. foltz
https://codereview.chromium.org/2451573003/diff/80001/chrome/browser/media/router/media_router_feature.cc File chrome/browser/media/router/media_router_feature.cc (right): https://codereview.chromium.org/2451573003/diff/80001/chrome/browser/media/router/media_router_feature.cc#newcode43 chrome/browser/media/router/media_router_feature.cc:43: #else // !(defined(OS_ANDROID) || defined(ENABLE_EXTENSIONS)) On 2016/10/28 at 02:42:37, ...
4 years, 1 month ago (2016-10-28 19:54:44 UTC) #39
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/2451573003/100001
4 years, 1 month ago (2016-10-28 20:08:53 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-10-28 21:17:22 UTC) #43
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 21:20:40 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ac0030f5d07e66752b93695bc373bcb55ab26602
Cr-Commit-Position: refs/heads/master@{#428493}

Powered by Google App Engine
This is Rietveld 408576698