mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add SameSite (same_site) and Priority attributes to CefCookie (fixes issue #2524)
This change also restores the Chromium default values for the SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure features. See https://www.chromium.org/updates/same-site for feature details and rollout timeline.
This commit is contained in:
committed by
Marshall Greenblatt
parent
cbc0625272
commit
be6af15754
@@ -11,6 +11,7 @@
|
||||
#include "include/internal/cef_types_wrappers.h"
|
||||
|
||||
#include "base/memory/scoped_refptr.h"
|
||||
#include "net/cookies/cookie_constants.h"
|
||||
|
||||
namespace net {
|
||||
class CanonicalCookie;
|
||||
@@ -70,6 +71,9 @@ bool MakeCefCookie(const GURL& url,
|
||||
const std::string& cookie_line,
|
||||
CefCookie& cookie);
|
||||
|
||||
net::CookieSameSite MakeCookieSameSite(cef_cookie_same_site_t value);
|
||||
net::CookiePriority MakeCookiePriority(cef_cookie_priority_t value);
|
||||
|
||||
} // namespace net_service
|
||||
|
||||
#endif // CEF_LIBCEF_COMMON_NET_SERVICE_NET_SERVICE_UTIL_H_
|
||||
|
Reference in New Issue
Block a user