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

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

Issue 11299236: This moves the ONC parsing code into chromeos/network/onc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/test/data/network/decrypted.onc ('k') | chromeos/test/data/network/encrypted.onc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { "GUID": "123", 1 { "GUID": "123",
2 "Type": "VPN", 2 "Type": "VPN",
3 "Name": "testopenvpn", 3 "Name": "testopenvpn",
4 "IPConfigs": [ 4 "IPConfigs": [
5 { "Type": "IPv4", 5 { "Type": "IPv4",
6 "IPAddress": "127.0.0.1" } 6 "IPAddress": "127.0.0.1" }
7 ], 7 ],
8 "VPN": { 8 "VPN": {
9 "Host": "device policys host", 9 "Host": "device policys host",
10 "Recommended": ["Host"], 10 "Recommended": ["Host"],
11 "Type": "OpenVPN", 11 "Type": "OpenVPN",
12 "OpenVPN": { 12 "OpenVPN": {
13 "Port": 0, 13 "Port": 0,
14 "Username": "device user", 14 "Username": "device user",
15 "Recommended": [ "Password", "Port" ], 15 "Recommended": [ "Password", "Port" ],
16 "ClientCertType": "Pattern", 16 "ClientCertType": "Pattern",
17 "ClientCertPattern": { 17 "ClientCertPattern": {
18 "IssuerCARef": [ "openvpn-test-ca" ], 18 "IssuerCARef": [ "openvpn-test-ca" ],
19 "Recommended": [ "EnrollmentURI", "IssuerCARef" ] 19 "Recommended": [ "EnrollmentURI", "IssuerCARef" ]
20 } 20 }
21 }, 21 },
22 "IPsec": { 22 "IPsec": {
23 "PSK": "sharedkey" 23 "PSK": "sharedkey"
24 } 24 }
25 } 25 }
26 } 26 }
OLDNEW
« no previous file with comments | « chromeos/test/data/network/decrypted.onc ('k') | chromeos/test/data/network/encrypted.onc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698