#include "net/cookies/site_for_cookies.h"
#include <string>
#include <vector>
#include "base/strings/strcat.h"
#include "base/test/scoped_feature_list.h"
#include "net/base/features.h"
#include "net/base/url_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"
#include "url/url_util.h"
namespace net {
namespace {
class SchemelessSiteForCookiesTest : public ::testing::Test { … };
std::string NormalizedScheme(const GURL& url) { … }
void TestEquivalentAndDistinct(const std::vector<GURL>& equivalent,
const std::vector<GURL>& distinct,
const std::string& expect_host) { … }
TEST(SiteForCookiesTest, Default) { … }
TEST_F(SchemelessSiteForCookiesTest, Basic) { … }
TEST(SiteForCookiesTest, BasicSecure) { … }
TEST(SiteForCookiesTest, BasicInsecure) { … }
TEST(SiteForCookiesTest, File) { … }
TEST_F(SchemelessSiteForCookiesTest, Extension) { … }
TEST(SiteForCookiesTest, Extension) { … }
TEST(SiteForCookiesTest, NonStandard) { … }
TEST_F(SchemelessSiteForCookiesTest, Blob) { … }
TEST(SiteForCookiesTest, SecureBlob) { … }
TEST(SiteForCookiesTest, InsecureBlob) { … }
TEST_F(SchemelessSiteForCookiesTest, Wire) { … }
TEST(SiteForCookiesTest, Wire) { … }
TEST(SiteForCookiesTest, SchemefulSite) { … }
TEST(SiteForCookiesTest, CompareWithFrameTreeSiteAndRevise) { … }
TEST(SiteForCookiesTest, CompareWithFrameTreeSiteAndReviseOpaque) { … }
TEST(SiteForCookiesTest, NotSchemefullySameEquivalent) { … }
}
TEST(SiteForCookiesTest, SameScheme) { … }
TEST(SiteForCookiesTest, SameSchemeOpaque) { … }
TEST(SiteForCookiesTest, LessThan) { … }
}