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 "About" section to interact with | 6 * @fileoverview A helper object used from the "About" section to interact with |
7 * the browser. | 7 * the browser. |
8 */ | 8 */ |
9 | 9 |
10 // <if expr="chromeos"> | 10 // <if expr="chromeos"> |
11 /** | 11 /** |
12 * @typedef {{ | 12 * @typedef {{ |
13 * text: string, | 13 * text: string, |
14 * url: string, | 14 * url: string, |
15 * }} | 15 * }} |
16 */ | 16 */ |
17 var RegulatoryInfo; | 17 var RegulatoryInfo; |
18 | 18 |
19 /** | 19 /** |
20 * @typedef {{ | 20 * @typedef {{ |
21 * currentChannel: string, | 21 * currentChannel: BrowserChannel, |
22 * targetChannel: string, | 22 * targetChannel: BrowserChannel, |
23 * canChangeChannel: boolean, | 23 * canChangeChannel: boolean, |
24 * }} | 24 * }} |
25 */ | 25 */ |
26 var ChannelInfo; | 26 var ChannelInfo; |
27 | 27 |
28 /** | 28 /** |
29 * @typedef {{ | 29 * @typedef {{ |
30 * arcVersion: string, | 30 * arcVersion: string, |
31 * osFirmware: string, | 31 * osFirmware: string, |
32 * osVersion: string, | 32 * osVersion: string, |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 | 266 |
267 cr.addSingletonGetter(AboutPageBrowserProxyImpl); | 267 cr.addSingletonGetter(AboutPageBrowserProxyImpl); |
268 | 268 |
269 return { | 269 return { |
270 AboutPageBrowserProxy: AboutPageBrowserProxy, | 270 AboutPageBrowserProxy: AboutPageBrowserProxy, |
271 AboutPageBrowserProxyImpl: AboutPageBrowserProxyImpl, | 271 AboutPageBrowserProxyImpl: AboutPageBrowserProxyImpl, |
272 browserChannelToI18nId: browserChannelToI18nId, | 272 browserChannelToI18nId: browserChannelToI18nId, |
273 isTargetChannelMoreStable: isTargetChannelMoreStable, | 273 isTargetChannelMoreStable: isTargetChannelMoreStable, |
274 }; | 274 }; |
275 }); | 275 }); |
OLD | NEW |