mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-18 13:10:42 +01:00
This commit is contained in:
parent
d82624411e
commit
4c70c67042
@ -288,6 +288,10 @@ void CefBrowserContext::Initialize() {
|
|||||||
CefString(&context->settings().accept_language_list);
|
CefString(&context->settings().accept_language_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!!settings_.persist_session_cookies) {
|
||||||
|
set_should_persist_session_cookies(true);
|
||||||
|
}
|
||||||
|
|
||||||
key_ = std::make_unique<ProfileKey>(GetPath());
|
key_ = std::make_unique<ProfileKey>(GetPath());
|
||||||
SimpleKeyMap::GetInstance()->Associate(this, key_.get());
|
SimpleKeyMap::GetInstance()->Associate(this, key_.get());
|
||||||
|
|
||||||
|
@ -189,6 +189,9 @@ class CefBrowserContext : public ChromeProfileStub,
|
|||||||
|
|
||||||
// Values checked in ProfileNetworkContextService::CreateNetworkContextParams
|
// Values checked in ProfileNetworkContextService::CreateNetworkContextParams
|
||||||
// when creating the NetworkContext.
|
// when creating the NetworkContext.
|
||||||
|
bool ShouldRestoreOldSessionCookies() override {
|
||||||
|
return should_persist_session_cookies_;
|
||||||
|
}
|
||||||
bool ShouldPersistSessionCookies() override {
|
bool ShouldPersistSessionCookies() override {
|
||||||
return should_persist_session_cookies_;
|
return should_persist_session_cookies_;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user