feat: HTTP preconnect feature minimal for electronjs (#19952)

* feat: HTTP preconnect feature minimal for electronjs

* fix type of PreconnectRequest::PreconnectRequest impl

* roll back past https://chromium-review.googlesource.com/c/chromium/src/+/1713306

* mark docs as experimental

* fix lint
This commit is contained in:
Jeremy Apthorp
2019-08-27 08:09:31 -07:00
committed by Charles Kerr
parent 7cc1efd2e6
commit b09a1c7607
17 changed files with 373 additions and 1 deletions

View File

@@ -86,6 +86,7 @@ class Session : public mate::TrackableObject<Session>,
v8::Local<v8::Value> Protocol(v8::Isolate* isolate);
v8::Local<v8::Value> WebRequest(v8::Isolate* isolate);
v8::Local<v8::Value> NetLog(v8::Isolate* isolate);
void Preconnect(const mate::Dictionary& options, mate::Arguments* args);
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
void LoadChromeExtension(const base::FilePath extension_path);