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

Side by Side Diff: chrome/browser/resources/settings/internet_page/internet_page.js

Issue 2658723002: MD Settings: Remove some ES6 leftovers from CrOS code that break uglify. (Closed)
Patch Set: Created 3 years, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 6 * @fileoverview
7 * 'settings-internet-page' is the settings page containing internet 7 * 'settings-internet-page' is the settings page containing internet
8 * settings. 8 * settings.
9 */ 9 */
10 Polymer({ 10 Polymer({
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 * @private 229 * @private
230 */ 230 */
231 onExtensionDisabled_: function(extension) { 231 onExtensionDisabled_: function(extension) {
232 this.onExtensionRemoved_(extension.id); 232 this.onExtensionRemoved_(extension.id);
233 }, 233 },
234 234
235 /** 235 /**
236 * @param {!chrome.networkingPrivate.GlobalPolicy} globalPolicy 236 * @param {!chrome.networkingPrivate.GlobalPolicy} globalPolicy
237 * @return {boolean} 237 * @return {boolean}
238 */ 238 */
239 allowAddConnection_(globalPolicy) { 239 allowAddConnection_: function(globalPolicy) {
240 return !globalPolicy.AllowOnlyPolicyNetworksToConnect; 240 return !globalPolicy.AllowOnlyPolicyNetworksToConnect;
241 }, 241 },
242 242
243 /** 243 /**
244 * @param {!chrome.networkingPrivate.ThirdPartyVPNProperties} provider 244 * @param {!chrome.networkingPrivate.ThirdPartyVPNProperties} provider
245 * @return {string} 245 * @return {string}
246 */ 246 */
247 getAddThirdParrtyVpnLabel_: function(provider) { 247 getAddThirdParrtyVpnLabel_: function(provider) {
248 return this.i18n('internetAddThirdPartyVPN', provider.ProviderName); 248 return this.i18n('internetAddThirdPartyVPN', provider.ProviderName);
249 } 249 }
250 }); 250 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698