#include "content/browser/first_party_sets/first_party_sets_handler_impl.h"
#include <optional>
#include "base/test/test_future.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "net/base/schemeful_site.h"
#include "net/dns/mock_host_resolver.h"
#include "net/first_party_sets/first_party_set_entry.h"
#include "net/first_party_sets/global_first_party_sets.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "services/network/public/cpp/network_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
constexpr char kSiteA[] = …;
constexpr char kSiteB[] = …;
constexpr char kSiteC[] = …;
constexpr char kSiteD[] = …;
}
class FirstPartySetsHandlerImplBrowserTest
: public content::ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FirstPartySetsHandlerImplBrowserTest, LocalSwitch) { … }
class FirstPartySetsHandlerImplWithNewSwitchBrowserTest
: public FirstPartySetsHandlerImplBrowserTest { … };
IN_PROC_BROWSER_TEST_F(FirstPartySetsHandlerImplWithNewSwitchBrowserTest,
NewSwitch) { … }
}