#include "net/cookies/cookie_partition_key.h"
#include <string>
#include <tuple>
#include "base/test/scoped_feature_list.h"
#include "net/base/features.h"
#include "net/cookies/cookie_constants.h"
#include "net/cookies/cookie_switches.h"
#include "net/cookies/site_for_cookies.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
using enum CookiePartitionKey::AncestorChainBit;
class CookiePartitionKeyTest : public testing::TestWithParam<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(CookiePartitionKeyTest, TestFromStorage) { … }
TEST_P(CookiePartitionKeyTest, TestFromUntrustedInput) { … }
TEST_P(CookiePartitionKeyTest, Serialization) { … }
TEST_P(CookiePartitionKeyTest, FromNetworkIsolationKey) { … }
TEST_P(CookiePartitionKeyTest, FromWire) { … }
TEST_P(CookiePartitionKeyTest, FromStorageKeyComponents) { … }
TEST_P(CookiePartitionKeyTest, FromScript) { … }
TEST_P(CookiePartitionKeyTest, IsSerializeable) { … }
TEST_P(CookiePartitionKeyTest, Equality) { … }
TEST_P(CookiePartitionKeyTest, Equality_WithAncestorChain) { … }
TEST_P(CookiePartitionKeyTest, Equality_WithNonce) { … }
TEST_P(CookiePartitionKeyTest, Localhost) { … }
}