summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorkaliamoorthi <kaliamoorthi@chromium.org>2015-03-18 10:41:04 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-18 17:41:37 +0000
commit037c997633a3d5ab050dfd4d92abbd5baba4542e (patch)
tree4d8f08fc93ffd577212d0162f82a3fae0d8844d0 /extensions
parentedc82a7038004538280a3bdefc12508f997e6bd9 (diff)
downloadchromium_src-037c997633a3d5ab050dfd4d92abbd5baba4542e.zip
chromium_src-037c997633a3d5ab050dfd4d92abbd5baba4542e.tar.gz
chromium_src-037c997633a3d5ab050dfd4d92abbd5baba4542e.tar.bz2
Update vpnProvider documentation in the idl.
The CL adds documentation for enum states in the idl for vpnProvider. BUG=432496 Review URL: https://codereview.chromium.org/1020433002 Cr-Commit-Position: refs/heads/master@{#321161}
Diffstat (limited to 'extensions')
-rw-r--r--extensions/common/api/vpn_provider.idl9
1 files changed, 9 insertions, 0 deletions
diff --git a/extensions/common/api/vpn_provider.idl b/extensions/common/api/vpn_provider.idl
index b0fdc2f..ef0e947 100644
--- a/extensions/common/api/vpn_provider.idl
+++ b/extensions/common/api/vpn_provider.idl
@@ -45,8 +45,13 @@ namespace vpnProvider {
// The enum is used by the platform to notify the client of the VPN session
// status.
enum PlatformMessage {
+ // VPN configuration connected.
connected,
+ // VPN configuration disconnected.
disconnected,
+ // An error occurred in VPN connection, for example a timeout. A description
+ // of the error is give as the <ahref="#property-onPlatformMessage-error">
+ // error argument to onPlatformMessage</a>.
error
};
@@ -54,14 +59,18 @@ namespace vpnProvider {
// of its current state. This helps provide meaningful messages
// to the user.
enum VpnConnectionState {
+ // VPN connection was successful.
connected,
+ // VPN connection failed.
failure
};
// The enum is used by the platform to indicate the event that triggered
// <code>onUIEvent</code>.
enum UIEvent {
+ // Request the VPN client to show add configuration dialog to the user.
showAddDialog,
+ // Request the VPN client to show configuration settings dialog to the user.
showConfigureDialog
};