Index: chrome/browser/resources/media_router/media_router_ui_interface.js |
diff --git a/chrome/browser/resources/media_router/media_router_ui_interface.js b/chrome/browser/resources/media_router/media_router_ui_interface.js |
index 35e8afbffc77111b409eafd6784c3cff5fc79889..e4495b9bdbc0574e21525aec09c2135c7ecbe2bd 100644 |
--- a/chrome/browser/resources/media_router/media_router_ui_interface.js |
+++ b/chrome/browser/resources/media_router/media_router_ui_interface.js |
@@ -51,6 +51,9 @@ cr.define('media_router.ui', function() { |
* routes: !Array<!media_router.Route>, |
* castModes: !Array<!media_router.CastMode>, |
* wasFirstRunFlowAcknowledged: boolean, |
+ * userEmail: string, |
+ * userDomain: string, |
+ * showEmail: boolean, |
* showFirstRunFlowCloudPref: boolean}} data |
* Parameters in data: |
* firstRunFlowCloudPrefLearnMoreUrl - url to open when the cloud services |
@@ -63,6 +66,9 @@ cr.define('media_router.ui', function() { |
* castModes - list of available cast modes. |
* wasFirstRunFlowAcknowledged - true if first run flow was previously |
* acknowledged by user. |
+ * userEmail - The email of the user if the user is signed in. |
+ * userDomain - The domain of the user if the user is signed in. |
+ * showEmail - true if the user email should be shown. |
* showFirstRunFlowCloudPref - true if the cloud pref option should be |
* shown. |
*/ |
@@ -75,6 +81,9 @@ cr.define('media_router.ui', function() { |
container.castModeList = data['castModes']; |
container.allSinks = data['sinks']; |
container.routeList = data['routes']; |
+ container.userEmail = data['userEmail']; |
+ container.userDomain = data['userDomain']; |
+ container.showEmail = data['showEmail']; |
container.showFirstRunFlowCloudPref = |
data['showFirstRunFlowCloudPref']; |
// Some users acknowledged the first run flow before the cloud prefs |