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

Issue 2093353002: [Reland] [Media Router] Allow users to update cloud services pref when sync is not active. (Closed)

Created:
4 years, 6 months ago by apacible
Modified:
4 years, 5 months ago
Reviewers:
msw, imcheng
CC:
chromium-reviews, media-router+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland] [Media Router] Allow users to update cloud services pref when sync is not active. There are two places users can update their cloud services pref: - First run flow, with a checkbox - Contextual menu, with a toggle Currently, users can only update their cloud services pref if they have sync enabled. There is no technical tie-in between having sync active and using cloud services. This change makes it such that users can toggle their cloud services pref locally if sync is inactive. Now, we only check that the user is authenticated. While sync is off, however, the pref will not sync across their devices. In the event where the user has already acknowledged the first run flow (locally on the profile), then turned on sync, we continue to enable cloud services. [Reland Comments] This was initially reverted because it caused failures on official bots; there were #includes that were mistakenly removed. BUG=621255, 623330 Committed: https://crrev.com/19a9b8f1411afe64b2163261a04245f617e25e17 Cr-Commit-Position: refs/heads/master@{#402072} patch from issue 2078213002 at patchset 160001 (http://crrev.com/2078213002#ps160001) Committed: https://crrev.com/eae3fc0f7fd78faa2d97ce24c150af30f7f4de1f Cr-Commit-Position: refs/heads/master@{#402596}

Patch Set 1 #

Patch Set 2 : Add #includes back. #

Total comments: 14

Patch Set 3 : Rebase. #

Patch Set 4 : Changes per msw@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -20 lines) Patch
M chrome/browser/ui/toolbar/media_router_contextual_menu.cc View 1 2 2 chunks +4 lines, -11 lines 0 comments Download
A chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc View 1 1 chunk +8 lines, -9 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
apacible
PTAL, thanks! +msw for chrome/browser/ui/toolbar/ OWNERS (pkasting OOO)
4 years, 6 months ago (2016-06-26 04:28:52 UTC) #5
imcheng
lgtm
4 years, 5 months ago (2016-06-27 18:16:44 UTC) #6
msw
https://codereview.chromium.org/2093353002/diff/40001/chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc File chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc (right): https://codereview.chromium.org/2093353002/diff/40001/chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc#newcode14 chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc:14: class TestSimpleMenuModel : public ui::SimpleMenuModel { Remove this; it's ...
4 years, 5 months ago (2016-06-27 19:10:23 UTC) #7
apacible
https://codereview.chromium.org/2093353002/diff/40001/chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc File chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc (right): https://codereview.chromium.org/2093353002/diff/40001/chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc#newcode14 chrome/browser/ui/toolbar/media_router_contextual_menu_unittest.cc:14: class TestSimpleMenuModel : public ui::SimpleMenuModel { On 2016/06/27 19:10:22, ...
4 years, 5 months ago (2016-06-28 17:01:38 UTC) #9
msw
lgtm
4 years, 5 months ago (2016-06-28 17:29:49 UTC) #10
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/2093353002/100001
4 years, 5 months ago (2016-06-28 18:00:46 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/253961)
4 years, 5 months ago (2016-06-28 19:56:22 UTC) #15
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/2093353002/100001
4 years, 5 months ago (2016-06-28 22:06:17 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 5 months ago (2016-06-28 23:46:20 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 23:49:40 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/eae3fc0f7fd78faa2d97ce24c150af30f7f4de1f
Cr-Commit-Position: refs/heads/master@{#402596}

Powered by Google App Engine
This is Rietveld 408576698