зеркало из https://github.com/electron/electron.git
Implement SpecialStoragePolicy::ShouldDeleteCookieOnExit
https://chromium-review.googlesource.com/c/chromium/src/+/926369
This commit is contained in:
Родитель
3666935c06
Коммит
c31d7ef70a
|
@ -34,4 +34,8 @@ bool SpecialStoragePolicy::HasSessionOnlyOrigins() {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool SpecialStoragePolicy::ShouldDeleteCookieOnExit(const GURL& origin) {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
|
@ -20,6 +20,7 @@ class SpecialStoragePolicy : public storage::SpecialStoragePolicy {
|
|||
bool HasIsolatedStorage(const GURL& origin) override;
|
||||
bool IsStorageSessionOnly(const GURL& origin) override;
|
||||
bool HasSessionOnlyOrigins() override;
|
||||
bool ShouldDeleteCookieOnExit(const GURL& origin) override;
|
||||
|
||||
protected:
|
||||
~SpecialStoragePolicy() override;
|
||||
|
|
Загрузка…
Ссылка в новой задаче