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

Unified Diff: chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js

Issue 1582943003: [Media Router] Add cloud services preferences. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/resources/media_router/media_router.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
diff --git a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
index 4756b5f6db0b88173fceb4bab3ccf23d5789bc0a..1bf8c58dbe835687a09d29b4c47cadfeaf85e26e 100644
--- a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
+++ b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
@@ -406,8 +406,14 @@ Polymer({
* @private
*/
acknowledgeFirstRunFlow_: function() {
+ var userOptedIntoCloudServices = this.$$('#first-run-cloud-checkbox') ?
+ this.$$('#first-run-cloud-checkbox').checked : false;
+ this.fire('acknowledge-first-run-flow', {
+ optedIntoCloudServices: userOptedIntoCloudServices,
+ });
+
this.showFirstRunFlow = false;
- this.fire('acknowledge-first-run-flow');
+ this.showFirstRunFlowCloudPref = false;
},
/**
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/resources/media_router/media_router.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698