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

Issue 1582943003: [Media Router] Add cloud services preferences. (Closed)

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

Description

[Media Router] Add cloud services preferences. Part 6. This change adds two syncable preferences related to using cloud services with Media Router. kMediaRouterCloudServicesPrefSet tracks whether or not the user has explicitly acknowledged the first run flow with the cloud services preference present. This is important to keep track of since there are users who have acknowledged the first run flow before the work related to the cloud services lands (currently in progress). This will be used to surface a different prompt to ask if users want to enable cloud services. kMediaRouterEnableCloudServices tracks whether the user has enabled cloud services. BUG=560457 Committed: https://crrev.com/40dd5a18974d28dfe7ac1a385a4f43bbb95cf3c6 Cr-Commit-Position: refs/heads/master@{#371456}

Patch Set 1 : #

Patch Set 2 : Fix closure compiler errors. #

Total comments: 2

Patch Set 3 : Changes per anthonyvd@'s comments. #

Total comments: 10

Patch Set 4 : Rebase. #

Patch Set 5 : Changes per imcheng@'s comments. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -8 lines) Patch
M chrome/browser/profiles/profile.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/resources/media_router/media_router.js View 1 2 3 4 5 1 chunk +10 lines, -2 lines 0 comments Download
M chrome/browser/resources/media_router/media_router_ui_interface.js View 1 2 3 4 5 4 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc View 1 2 3 4 5 2 chunks +27 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/data/webui/media_router/media_router_container_tests.js View 2 chunks +42 lines, -1 line 0 comments Download

Messages

Total messages: 26 (17 generated)
apacible
PTAL, thanks! +imcheng for everything. +anthonyvd for chrome/browser/profiles/profile.cc.
4 years, 11 months ago (2016-01-20 18:28:46 UTC) #13
anthonyvd
c/b/profiles/profile.cc lgtm % a little question. https://codereview.chromium.org/1582943003/diff/180001/chrome/browser/profiles/profile.cc File chrome/browser/profiles/profile.cc (right): https://codereview.chromium.org/1582943003/diff/180001/chrome/browser/profiles/profile.cc#newcode163 chrome/browser/profiles/profile.cc:163: registry->RegisterBooleanPref( Those seem ...
4 years, 11 months ago (2016-01-21 15:52:33 UTC) #14
apacible
https://codereview.chromium.org/1582943003/diff/180001/chrome/browser/profiles/profile.cc File chrome/browser/profiles/profile.cc (right): https://codereview.chromium.org/1582943003/diff/180001/chrome/browser/profiles/profile.cc#newcode163 chrome/browser/profiles/profile.cc:163: registry->RegisterBooleanPref( On 2016/01/21 15:52:33, anthonyvd wrote: > Those seem ...
4 years, 11 months ago (2016-01-21 16:36:46 UTC) #15
imcheng
https://codereview.chromium.org/1582943003/diff/200001/chrome/browser/resources/media_router/media_router.js File chrome/browser/resources/media_router/media_router.js (right): https://codereview.chromium.org/1582943003/diff/200001/chrome/browser/resources/media_router/media_router.js#newcode91 chrome/browser/resources/media_router/media_router.js:91: /** @type {{optedIntoCloudServices: boolean}} */ move this line above ...
4 years, 11 months ago (2016-01-25 19:21:06 UTC) #16
apacible
https://codereview.chromium.org/1582943003/diff/200001/chrome/browser/resources/media_router/media_router.js File chrome/browser/resources/media_router/media_router.js (right): https://codereview.chromium.org/1582943003/diff/200001/chrome/browser/resources/media_router/media_router.js#newcode91 chrome/browser/resources/media_router/media_router.js:91: /** @type {{optedIntoCloudServices: boolean}} */ On 2016/01/25 19:21:06, imcheng1 ...
4 years, 11 months ago (2016-01-26 01:12:56 UTC) #17
imcheng
lgtm
4 years, 11 months ago (2016-01-26 01:27:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1582943003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1582943003/260001
4 years, 11 months ago (2016-01-26 02:55:13 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:260001)
4 years, 11 months ago (2016-01-26 04:41:01 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 04:42:29 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/40dd5a18974d28dfe7ac1a385a4f43bbb95cf3c6
Cr-Commit-Position: refs/heads/master@{#371456}

Powered by Google App Engine
This is Rietveld 408576698