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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item.js

Issue 2311473002: MD Settings: Third party VPN support (Closed)
Patch Set: Rebase Created 4 years, 3 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
Index: ui/webui/resources/cr_elements/network/cr_network_list_item.js
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.js b/ui/webui/resources/cr_elements/network/cr_network_list_item.js
index 0b9a9e8b049a4efa83456851d3cf293af71a7908..fa42f019d587fe7d7f681aada891bb60db70f60d 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item.js
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.js
@@ -91,7 +91,7 @@ Polymer({
}
let network = /** @type {!CrOnc.NetworkStateProperties} */ (this.item);
if (this.isListItem)
- return CrOnc.getNetworkName(network, this.i18n);
+ return CrOnc.getNetworkName(network, this);
return this.i18n('OncType' + network.Type);
},
@@ -117,7 +117,7 @@ Polymer({
return this.i18n('networkListItemConnected');
if (network.Name && network.ConnectionState) {
return this.getConnectionStateText_(
- network.ConnectionState, CrOnc.getNetworkName(network, this.i18n));
+ network.ConnectionState, CrOnc.getNetworkName(network, this));
}
return this.i18n('networkDisabled');
},
« no previous file with comments | « ui/webui/resources/cr_elements/network/compiled_resources2.gyp ('k') | ui/webui/resources/cr_elements/network/cr_onc_types.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698