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

Unified Diff: chrome/browser/resources/options/chromeos/vpn_providers.js

Issue 1016103003: Fix typos in JS types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix one more typo. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/chromeos/vpn_providers.js
diff --git a/chrome/browser/resources/options/chromeos/vpn_providers.js b/chrome/browser/resources/options/chromeos/vpn_providers.js
index 61ccfb7aea3578b3bdaed0fcbaed4f3ba43fb995..911c68487fbf67238d92644ad4eb93e2329bdd87 100644
--- a/chrome/browser/resources/options/chromeos/vpn_providers.js
+++ b/chrome/browser/resources/options/chromeos/vpn_providers.js
@@ -20,7 +20,7 @@ cr.define('options', function() {
/**
* The VPN providers enabled in the primary user's profile. Each provider
* has a name. Third-party VPN providers additionally have an extension ID.
- * @type {!Array<{name: string, extensionID: ?string>}}
+ * @type {!Array<{name: string, extensionID: ?string}>}
* @private
*/
providers_: [],
@@ -33,7 +33,7 @@ cr.define('options', function() {
* @return {string} The resulting display name.
* @private
*/
- formatNetworkName_(onc) {
+ formatNetworkName_: function(onc) {
var networkName = onc.getTranslatedValue('Name');
if (onc.getActiveValue('VPN.Type') != 'ThirdPartyVPN')
return networkName;
@@ -51,7 +51,7 @@ cr.define('options', function() {
/**
* Returns the list of VPN providers enabled in the primary user's profile.
- * @return {!Array<{name: string, extensionID: ?string>}} The list of VPN
+ * @return {!Array<{name: string, extensionID: ?string}>} The list of VPN
* providers enabled in the primary user's profile.
*/
VPNProviders.getProviders = function() {
@@ -60,7 +60,7 @@ cr.define('options', function() {
/**
* Replaces the list of VPN providers enabled in the primary user's profile.
- * @param {!Array<{name: string, extensionID: ?string>}} providers The list
+ * @param {!Array<{name: string, extensionID: ?string}>} providers The list
* of VPN providers enabled in the primary user's profile.
*/
VPNProviders.setProviders = function(providers) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698