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

Side by Side Diff: extensions/common/api/vpn_provider.idl

Issue 932063003: Add split tunnel interface to vpnProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.vpnProvider</code> API to implement a VPN 5 // Use the <code>chrome.vpnProvider</code> API to implement a VPN
6 // client. 6 // client.
7 namespace vpnProvider { 7 namespace vpnProvider {
8 // A parameters class for the VPN interface. 8 // A parameters class for the VPN interface.
9 dictionary Parameters { 9 dictionary Parameters {
10 // IP address for the VPN interface in CIDR notation. 10 // IP address for the VPN interface in CIDR notation.
11 // IPv4 is currently the only supported mode. 11 // IPv4 is currently the only supported mode.
12 DOMString address; 12 DOMString address;
13 // Broadcast address for the VPN interface. (default: deduced 13 // Broadcast address for the VPN interface. (default: deduced
14 // from IP address and mask) 14 // from IP address and mask)
15 DOMString? broadcastAddress; 15 DOMString? broadcastAddress;
16 // MTU setting for the VPN interface. (default: 1500 bytes) 16 // MTU setting for the VPN interface. (default: 1500 bytes)
17 DOMString? mtu; 17 DOMString? mtu;
18 // Bypass network traffic to the below IPs from the tunnel. Typically used 18 // Exclude network traffic to the below IP blocks in CIDR notation from the
19 // to bypass traffic to and from the VPN server. Currently only one IP is 19 // tunnel. This can be used to bypass traffic to and from the VPN server.
20 // supported. 20 DOMString[] exclusionList;
21 DOMString[] bypassTunnelForIp; 21 // Include network traffic to the below IP blocks in CIDR notation to the
22 // tunnel. By default all user traffic is routed to the tunnel. This
23 // parameter can be used to setup split tunnel.
not at google - send to devlin 2015/02/18 19:14:04 Which takes precedence?
kaliamoorthi 2015/02/19 12:53:59 I responded to this question in the comment. Its t
24 DOMString[] inclusionList;
22 // A list of search domains. (default: no search domain) 25 // A list of search domains. (default: no search domain)
23 DOMString[]? domainSearch; 26 DOMString[]? domainSearch;
24 // A list of IPs for the DNS servers. 27 // A list of IPs for the DNS servers.
25 DOMString[] dnsServers; 28 DOMString[] dnsServers;
26 }; 29 };
27 30
28 // The enum is used by the platform to notify the client of the VPN session 31 // The enum is used by the platform to notify the client of the VPN session
29 // status. 32 // status.
30 enum PlatformMessage { 33 enum PlatformMessage {
31 connected, 34 connected,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // session owned by the extension. 105 // session owned by the extension.
103 // |data|: The IP packet received from the platform. 106 // |data|: The IP packet received from the platform.
104 static void onPacketReceived(ArrayBuffer data); 107 static void onPacketReceived(ArrayBuffer data);
105 108
106 // Triggered when a configuration created by the extension is removed by the 109 // Triggered when a configuration created by the extension is removed by the
107 // platform. 110 // platform.
108 // |name|: Name of the configuration removed. 111 // |name|: Name of the configuration removed.
109 static void onConfigRemoved(DOMString name); 112 static void onConfigRemoved(DOMString name);
110 }; 113 };
111 }; 114 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698