Commit 39dba3a4 authored by Matthew Wang's avatar Matthew Wang Committed by Commit Bot

RFC: Add ExtraHosts to JS APIs

Needed for JS support for OpenVPN.ExtraHosts

Bug=742666
TEST=Manually tested using networkingPrivate

Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: If0de0606074c6805311d9b299bdc5c0a3de91b19
Reviewed-on: https://chromium-review.googlesource.com/726884Reviewed-by: default avatarKevin Cernekee <cernekee@chromium.org>
Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarToni Barzic <tbarzic@chromium.org>
Commit-Queue: Matthew Wang <matthewmwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516083}
parent a22b3584
...@@ -415,6 +415,7 @@ namespace networkingPrivate { ...@@ -415,6 +415,7 @@ namespace networkingPrivate {
DOMString? ClientCertType; DOMString? ClientCertType;
DOMString? CompLZO; DOMString? CompLZO;
boolean? CompNoAdapt; boolean? CompNoAdapt;
DOMString[]? ExtraHosts;
boolean? IgnoreDefaultRoute; boolean? IgnoreDefaultRoute;
DOMString? KeyDirection; DOMString? KeyDirection;
DOMString? NsCertType; DOMString? NsCertType;
...@@ -454,6 +455,7 @@ namespace networkingPrivate { ...@@ -454,6 +455,7 @@ namespace networkingPrivate {
ManagedDOMString? ClientCertType; ManagedDOMString? ClientCertType;
ManagedDOMString? CompLZO; ManagedDOMString? CompLZO;
ManagedBoolean? CompNoAdapt; ManagedBoolean? CompNoAdapt;
ManagedDOMStringList? ExtraHosts;
ManagedBoolean? IgnoreDefaultRoute; ManagedBoolean? IgnoreDefaultRoute;
ManagedDOMString? KeyDirection; ManagedDOMString? KeyDirection;
ManagedDOMString? NsCertType; ManagedDOMString? NsCertType;
......
...@@ -557,6 +557,7 @@ chrome.networkingPrivate.ManagedVerifyX509; ...@@ -557,6 +557,7 @@ chrome.networkingPrivate.ManagedVerifyX509;
* ClientCertType: (string|undefined), * ClientCertType: (string|undefined),
* CompLZO: (string|undefined), * CompLZO: (string|undefined),
* CompNoAdapt: (boolean|undefined), * CompNoAdapt: (boolean|undefined),
* ExtraHosts: (!Array<string>|undefined),
* IgnoreDefaultRoute: (boolean|undefined), * IgnoreDefaultRoute: (boolean|undefined),
* KeyDirection: (string|undefined), * KeyDirection: (string|undefined),
* NsCertType: (string|undefined), * NsCertType: (string|undefined),
...@@ -600,6 +601,7 @@ chrome.networkingPrivate.OpenVPNProperties; ...@@ -600,6 +601,7 @@ chrome.networkingPrivate.OpenVPNProperties;
* ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), * ClientCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined),
* CompLZO: (!chrome.networkingPrivate.ManagedDOMString|undefined), * CompLZO: (!chrome.networkingPrivate.ManagedDOMString|undefined),
* CompNoAdapt: (!chrome.networkingPrivate.ManagedBoolean|undefined), * CompNoAdapt: (!chrome.networkingPrivate.ManagedBoolean|undefined),
* ExtraHosts: (!chrome.networkingPrivate.ManagedDOMStringList|undefined),
* IgnoreDefaultRoute: (!chrome.networkingPrivate.ManagedBoolean|undefined), * IgnoreDefaultRoute: (!chrome.networkingPrivate.ManagedBoolean|undefined),
* KeyDirection: (!chrome.networkingPrivate.ManagedDOMString|undefined), * KeyDirection: (!chrome.networkingPrivate.ManagedDOMString|undefined),
* NsCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined), * NsCertType: (!chrome.networkingPrivate.ManagedDOMString|undefined),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment