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

Side by Side Diff: chrome/browser/resources/settings/about_page/about_page_browser_proxy.js

Issue 2984843003: MD Settings: Convert all usages of .bind(this) to use ES6 arrow function. (Closed)
Patch Set: Resolve conflicts. Created 3 years, 5 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 unified diff | Download patch
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698