| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module ash.mojom; | |
| 6 | |
| 7 // Describes a third-party VPN provided by an extension (e.g. Cisco AnyConnect). | |
| 8 struct ThirdPartyVpnProvider { | |
| 9 string name; | |
| 10 string extension_id; | |
| 11 }; | |
| 12 | |
| 13 // Manages the VPN provider list in ash. Allows extension-backed VPN providers | |
| 14 // to be added. Ash handles the built-in OpenVPN / L2TP provider internally. | |
| 15 interface VpnList { | |
| 16 // Sets the list of third-party VPN providers. The |providers| array may be | |
| 17 // empty to clear the list (e.g. after the last third-party VPN extension is | |
| 18 // uninstalled). | |
| 19 SetThirdPartyVpnProviders(array<ThirdPartyVpnProvider> providers); | |
| 20 }; | |
| OLD | NEW |