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. #
Messages
Total messages: 21 (11 generated)
|