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

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

Issue 2698133003: MD Settings: About: Show connectionTypes message (Closed)
Patch Set: Rebase Created 3 years, 10 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">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 * }} 70 * }}
71 */ 71 */
72 var PromoteUpdaterStatus; 72 var PromoteUpdaterStatus;
73 // </if> 73 // </if>
74 74
75 /** 75 /**
76 * @typedef {{ 76 * @typedef {{
77 * status: !UpdateStatus, 77 * status: !UpdateStatus,
78 * progress: (number|undefined), 78 * progress: (number|undefined),
79 * message: (string|undefined), 79 * message: (string|undefined),
80 * connectionTypes: (string|undefined),
80 * }} 81 * }}
81 */ 82 */
82 var UpdateStatusChangedEvent; 83 var UpdateStatusChangedEvent;
83 84
84 cr.define('settings', function() { 85 cr.define('settings', function() {
85 /** 86 /**
86 * @param {!BrowserChannel} channel 87 * @param {!BrowserChannel} channel
87 * @return {string} 88 * @return {string}
88 */ 89 */
89 function browserChannelToI18nId(channel) { 90 function browserChannelToI18nId(channel) {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // </if> 235 // </if>
235 }; 236 };
236 237
237 return { 238 return {
238 AboutPageBrowserProxy: AboutPageBrowserProxy, 239 AboutPageBrowserProxy: AboutPageBrowserProxy,
239 AboutPageBrowserProxyImpl: AboutPageBrowserProxyImpl, 240 AboutPageBrowserProxyImpl: AboutPageBrowserProxyImpl,
240 browserChannelToI18nId: browserChannelToI18nId, 241 browserChannelToI18nId: browserChannelToI18nId,
241 isTargetChannelMoreStable: isTargetChannelMoreStable, 242 isTargetChannelMoreStable: isTargetChannelMoreStable,
242 }; 243 };
243 }); 244 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698