| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview A helper object used from the the People section to get the | 6 * @fileoverview A helper object used from the the People section to get the |
| 7 * status of the sync backend and user preferences on what data to sync. Used | 7 * status of the sync backend and user preferences on what data to sync. Used |
| 8 * for both Chrome browser and ChromeOS. | 8 * for both Chrome browser and ChromeOS. |
| 9 */ | 9 */ |
| 10 cr.exportPath('settings'); | 10 cr.exportPath('settings'); |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * @typedef {{actionLinkText: (string|undefined), | 13 * @typedef {{actionLinkText: (string|undefined), |
| 14 * childUser: (boolean|undefined), | 14 * childUser: (boolean|undefined), |
| 15 * domain: (string|undefined), | 15 * domain: (string|undefined), |
| 16 * hasError: (boolean|undefined), | 16 * hasError: (boolean|undefined), |
| 17 * hasUnrecoverableError: (boolean|undefined), | 17 * hasUnrecoverableError: (boolean|undefined), |
| 18 * managed: (boolean|undefined), | 18 * managed: (boolean|undefined), |
| 19 * setupCompleted: (boolean|undefined), | 19 * setupCompleted: (boolean|undefined), |
| 20 * setupInProgress: (boolean|undefined), | 20 * setupInProgress: (boolean|undefined), |
| 21 * signedIn: (boolean|undefined), | 21 * signedIn: (boolean|undefined), |
| 22 * signedInUsername: (string|undefined), |
| 22 * signinAllowed: (boolean|undefined), | 23 * signinAllowed: (boolean|undefined), |
| 23 * statusText: (string|undefined), | 24 * statusText: (string|undefined), |
| 24 * supervisedUser: (boolean|undefined), | 25 * supervisedUser: (boolean|undefined), |
| 25 * syncSystemEnabled: (boolean|undefined)}} | 26 * syncSystemEnabled: (boolean|undefined)}} |
| 26 * @see chrome/browser/ui/webui/settings/people_handler.cc | 27 * @see chrome/browser/ui/webui/settings/people_handler.cc |
| 27 */ | 28 */ |
| 28 settings.SyncStatus; | 29 settings.SyncStatus; |
| 29 | 30 |
| 30 /** | 31 /** |
| 31 * The state of sync. This is the data structure sent back and forth between | 32 * The state of sync. This is the data structure sent back and forth between |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 'Signin_AccountSettings_GoogleActivityControlsClicked'); | 210 'Signin_AccountSettings_GoogleActivityControlsClicked'); |
| 210 window.open(loadTimeData.getString('activityControlsUrl')); | 211 window.open(loadTimeData.getString('activityControlsUrl')); |
| 211 } | 212 } |
| 212 }; | 213 }; |
| 213 | 214 |
| 214 return { | 215 return { |
| 215 SyncBrowserProxy: SyncBrowserProxy, | 216 SyncBrowserProxy: SyncBrowserProxy, |
| 216 SyncBrowserProxyImpl: SyncBrowserProxyImpl, | 217 SyncBrowserProxyImpl: SyncBrowserProxyImpl, |
| 217 }; | 218 }; |
| 218 }); | 219 }); |
| OLD | NEW |