mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
This commit is contained in:
@@ -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_;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user