#include <cstddef>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/files/scoped_temp_dir.h"
#include "base/test/scoped_feature_list.h"
#include "base/version.h"
#include "chrome/browser/net/storage_test_utils.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/test_launcher_utils.h"
#include "components/component_updater/installer_policies/first_party_sets_component_installer_policy.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "net/base/features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class FirstPartySetsBrowserTestBase : public InProcessBrowserTest { … };
class FirstPartySetsBrowserTestWithSetChangeNotAffectingSitesUnderTest
: public FirstPartySetsBrowserTestBase { … };
IN_PROC_BROWSER_TEST_F(
FirstPartySetsBrowserTestWithSetChangeNotAffectingSitesUnderTest,
PRE_CookieNotDeleted) { … }
IN_PROC_BROWSER_TEST_F(
FirstPartySetsBrowserTestWithSetChangeNotAffectingSitesUnderTest,
CookieNotDeleted) { … }
class FirstPartySetsBrowserTestWithSiteLeavingSet
: public FirstPartySetsBrowserTestBase { … };
IN_PROC_BROWSER_TEST_F(FirstPartySetsBrowserTestWithSiteLeavingSet,
PRE_CookieDeleted) { … }
IN_PROC_BROWSER_TEST_F(FirstPartySetsBrowserTestWithSiteLeavingSet,
CookieDeleted) { … }
}