#include "components/content_settings/core/browser/cookie_settings_policy_handler.h"
#include <memory>
#include "base/values.h"
#include "components/content_settings/core/browser/cookie_settings.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/policy/core/browser/configuration_policy_pref_store.h"
#include "components/policy/core/browser/configuration_policy_pref_store_test.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/testing_pref_service.h"
#include "components/privacy_sandbox/tracking_protection_prefs.h"
namespace content_settings {
class CookieSettingsPolicyHandlerTest
: public policy::ConfigurationPolicyPrefStoreTest { … };
TEST_F(CookieSettingsPolicyHandlerTest, ThirdPartyCookieBlockingNotSet) { … }
TEST_F(CookieSettingsPolicyHandlerTest, ThirdPartyCookieBlockingEnabled) { … }
TEST_F(CookieSettingsPolicyHandlerTest, ThirdPartyCookieBlockingDisabled) { … }
TEST_F(CookieSettingsPolicyHandlerTest,
DefaultCookieContentBlockAllImplicitDisable) { … }
TEST_F(CookieSettingsPolicyHandlerTest,
DefaultCookieContentAllowedImplicitDisableNotSet) { … }
TEST_F(CookieSettingsPolicyHandlerTest,
DefaultCookieContentBlockOverridesThirdParty) { … }
}