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

Side by Side Diff: chromeos/test/data/network/translation_of_shill_l2tpipsec.onc

Issue 539573002: Elim 'Translated' from Managed ONC dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix proxy settings Created 6 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 unified diff | Download patch
« no previous file with comments | « chromeos/network/onc/onc_translator_shill_to_onc.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { "GUID": "guid", 1 { "GUID": "guid",
2 "Type": "VPN", 2 "Type": "VPN",
3 "Name": "MyL2TPVPN", 3 "Name": "MyL2TPVPN",
4 "VPN": { 4 "VPN": {
5 "Type": "L2TP-IPsec", 5 "Type": "L2TP-IPsec",
6 "Host": "some.host.org", 6 "Host": "some.host.org",
7 "IPsec": { 7 "IPsec": {
8 // These two fields are part of the ONC (and are required). However, they 8 "AuthenticationType": "PSK",
9 // don't exist explicitly in the Shill dictionary. As there is no use-case 9 // This field is part of ONC (and is required). However, it does not
10 // yet, that requires to reconstruct these fields from a Shill dictionary, 10 // exist explicitly in the Shill dictionary. As there is no use-case yet
11 // we don't require their translation. 11 // that requires reconstructing this field from a Shill dictionary, we
12 // "AuthenticationType": "PSK", 12 // don't translate it.
13 // "IKEVersion": 1, 13 // "IKEVersion": 1,
14 "PSK": "some_preshared_key", 14 "PSK": "some_preshared_key",
15 "SaveCredentials": true, 15 "SaveCredentials": true,
16 "XAUTH": { 16 "XAUTH": {
17 "Username": "some xauth username", 17 "Username": "some xauth username",
18 "Password": "some xauth password" 18 "Password": "some xauth password"
19 } 19 }
20 }, 20 },
21 "L2TP": { 21 "L2TP": {
22 "Username": "some username", 22 "Username": "some username",
23 "Password": "some password", 23 "Password": "some password",
24 }, 24 },
25 } 25 }
26 } 26 }
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_translator_shill_to_onc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698