feat: allow setting SSL config (#25461)
* feat: allow setting SSL config * lint * configure system network context with min TLS1.2 * fix * note defaults
This commit is contained in:
parent
515e85079f
commit
27ea3fc069
7 changed files with 108 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "electron/buildflags/buildflags.h"
|
||||
#include "gin/handle.h"
|
||||
#include "gin/wrappable.h"
|
||||
#include "services/network/public/mojom/ssl_config.mojom.h"
|
||||
#include "shell/browser/event_emitter_mixin.h"
|
||||
#include "shell/browser/net/resolve_proxy_helper.h"
|
||||
#include "shell/common/gin_helper/cleaned_up_at_exit.h"
|
||||
|
@ -107,6 +108,7 @@ class Session : public gin::Wrappable<Session>,
|
|||
void AllowNTLMCredentialsForDomains(const std::string& domains);
|
||||
void SetUserAgent(const std::string& user_agent, gin::Arguments* args);
|
||||
std::string GetUserAgent();
|
||||
void SetSSLConfig(network::mojom::SSLConfigPtr config);
|
||||
bool IsPersistent();
|
||||
v8::Local<v8::Promise> GetBlobData(v8::Isolate* isolate,
|
||||
const std::string& uuid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue