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

Unified Diff: chromeos/test/data/network/translation_of_shill_l2tpipsec.onc

Issue 12390017: Separating ONC<->Shill translation from the ONC signature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed browser tests. Created 7 years, 10 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: chromeos/test/data/network/translation_of_shill_l2tpipsec.onc
diff --git a/chromeos/test/data/network/translation_of_shill_l2tpipsec.onc b/chromeos/test/data/network/translation_of_shill_l2tpipsec.onc
new file mode 100644
index 0000000000000000000000000000000000000000..ed7400d92f357838f56014519992d4097ee24a46
--- /dev/null
+++ b/chromeos/test/data/network/translation_of_shill_l2tpipsec.onc
@@ -0,0 +1,22 @@
+{ "GUID": "guid",
+ "Type": "VPN",
+ "Name": "MyL2TPVPN",
+ "VPN": {
+ "Type": "L2TP-IPsec",
+ "Host": "some.host.org",
+ "IPsec": {
+ // These two fields are part of the ONC (and are required). However, they
+ // don't exist explicitly in the Shill dictionary. As there is no use-case
+ // yet, that requires to reconstruct these fields from a Shill dictionary,
+ // we don't require their translation.
+ // "AuthenticationType": "PSK",
+ // "IKEVersion": 1,
+ "PSK": "some_preshared_key",
+ "SaveCredentials": true
+ },
+ "L2TP": {
+ "Username": "some username",
+ "Password": "some password"
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698