#include "net/cookies/cookie_constants.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "url/url_constants.h"
namespace net {
const base::TimeDelta kLaxAllowUnsafeMaxAge = …;
const base::TimeDelta kShortLaxAllowUnsafeMaxAge = …;
namespace {
const char kPriorityLow[] = …;
const char kPriorityMedium[] = …;
const char kPriorityHigh[] = …;
const char kSameSiteLax[] = …;
const char kSameSiteStrict[] = …;
const char kSameSiteNone[] = …;
const char kSameSiteExtended[] = …;
const char kSameSiteUnspecified[] = …;
}
std::string CookiePriorityToString(CookiePriority priority) { … }
CookiePriority StringToCookiePriority(const std::string& priority) { … }
std::string CookieSameSiteToString(CookieSameSite same_site) { … }
CookieSameSite StringToCookieSameSite(const std::string& same_site,
CookieSameSiteString* samesite_string) { … }
void RecordCookieSameSiteAttributeValueHistogram(CookieSameSiteString value) { … }
CookiePort ReducePortRangeForCookieHistogram(const int port) { … }
CookieSourceSchemeName GetSchemeNameEnum(const GURL& url) { … }
const char kEmptyCookiePartitionKey[] = …;
}