mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibWeb: Port Cookie from DeprecatedString to String
This commit is contained in:
parent
e3bc8610a9
commit
e28fb5c64c
Notes:
sideshowbarker
2024-07-16 23:55:09 +09:00
Author: https://github.com/shannonbooth
Commit: e28fb5c64c
Pull-request: https://github.com/SerenityOS/serenity/pull/21997
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 51 additions and 51 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Time.h>
|
||||
#include <LibIPC/Forward.h>
|
||||
|
||||
|
@ -25,18 +25,18 @@ enum class Source {
|
|||
};
|
||||
|
||||
struct Cookie {
|
||||
DeprecatedString creation_time_to_string() const;
|
||||
DeprecatedString last_access_time_to_string() const;
|
||||
DeprecatedString expiry_time_to_string() const;
|
||||
String creation_time_to_string() const;
|
||||
String last_access_time_to_string() const;
|
||||
String expiry_time_to_string() const;
|
||||
|
||||
DeprecatedString name;
|
||||
DeprecatedString value;
|
||||
String name;
|
||||
String value;
|
||||
SameSite same_site;
|
||||
UnixDateTime creation_time {};
|
||||
UnixDateTime last_access_time {};
|
||||
UnixDateTime expiry_time {};
|
||||
DeprecatedString domain {};
|
||||
DeprecatedString path {};
|
||||
String domain {};
|
||||
String path {};
|
||||
bool secure { false };
|
||||
bool http_only { false };
|
||||
bool host_only { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue