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

Unified Diff: ash/public/interfaces/vpn_list.mojom

Issue 2513673004: Reland: chromeos: Convert ash VPNDelegate interface to mojo (Closed)
Patch Set: fix manifest for reland Created 4 years, 1 month 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: ash/public/interfaces/vpn_list.mojom
diff --git a/ash/public/interfaces/vpn_list.mojom b/ash/public/interfaces/vpn_list.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..dd7954330a49e997cb96a4ad56d12304426e89e6
--- /dev/null
+++ b/ash/public/interfaces/vpn_list.mojom
@@ -0,0 +1,20 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ash.mojom;
+
+// Describes a third-party VPN provided by an extension (e.g. Cisco AnyConnect).
+struct ThirdPartyVpnProvider {
+ string name;
+ string extension_id;
+};
+
+// Manages the VPN provider list in ash. Allows extension-backed VPN providers
+// to be added. Ash handles the built-in OpenVPN / L2TP provider internally.
+interface VpnList {
+ // Sets the list of third-party VPN providers. The |providers| array may be
+ // empty to clear the list (e.g. after the last third-party VPN extension is
+ // uninstalled).
+ SetThirdPartyVpnProviders(array<ThirdPartyVpnProvider> providers);
+};
« no previous file with comments | « ash/public/interfaces/system_tray.mojom ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698