summaryrefslogtreecommitdiffstats
path: root/components/onc
diff options
context:
space:
mode:
authorkaliamoorthi <kaliamoorthi@chromium.org>2014-12-02 09:48:31 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-02 17:49:00 +0000
commit583cbf87a497ffd8821eb63e25d40d83490b0ec5 (patch)
tree72f4868e5034f9cfb9561c42fc56153c9e8283d6 /components/onc
parentaed3df70b1a9b209d415220f49ac2fad5ccfb15d (diff)
downloadchromium_src-583cbf87a497ffd8821eb63e25d40d83490b0ec5.zip
chromium_src-583cbf87a497ffd8821eb63e25d40d83490b0ec5.tar.gz
chromium_src-583cbf87a497ffd8821eb63e25d40d83490b0ec5.tar.bz2
Shill to ONC translation for thirdpartyvpn
ONC does not understand thirdpartyvpn. This results in VPN host being set to undefined during disconnect, rendering third party VPN configurations unusable after disconnect. This CL adds partial support in ONC layer for third party VPN to solve this problem. BUG=407541 Review URL: https://codereview.chromium.org/762113005 Cr-Commit-Position: refs/heads/master@{#306413}
Diffstat (limited to 'components/onc')
-rw-r--r--components/onc/onc_constants.cc1
-rw-r--r--components/onc/onc_constants.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 06342dfa..e9d1905 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -279,6 +279,7 @@ const char kL2TP[] = "L2TP";
const char kOpenVPN[] = "OpenVPN";
const char kPassword[] = "Password";
const char kSaveCredentials[] = "SaveCredentials";
+const char kThirdPartyVpn[] = "ThirdPartyVPN";
const char kTypeL2TP_IPsec[] = "L2TP-IPsec";
const char kType[] = "Type";
const char kUsername[] = "Username";
diff --git a/components/onc/onc_constants.h b/components/onc/onc_constants.h
index 5e197e0..89b193b 100644
--- a/components/onc/onc_constants.h
+++ b/components/onc/onc_constants.h
@@ -297,6 +297,7 @@ ONC_EXPORT extern const char kL2TP[];
ONC_EXPORT extern const char kOpenVPN[];
ONC_EXPORT extern const char kPassword[];
ONC_EXPORT extern const char kSaveCredentials[];
+ONC_EXPORT extern const char kThirdPartyVpn[];
ONC_EXPORT extern const char kTypeL2TP_IPsec[];
ONC_EXPORT extern const char kType[];
ONC_EXPORT extern const char kUsername[];