#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/common/extensions/api/cookies.h"
#include <stddef.h>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include "base/test/gtest_util.h"
#include "base/values.h"
#include "chrome/browser/extensions/api/cookies/cookies_helpers.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "net/cookies/canonical_cookie.h"
#include "net/cookies/cookie_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
Cookie;
CookieStore;
GetAll;
namespace extensions {
constexpr char kDomainKey[] = …;
namespace {
struct DomainMatchCase { … };
}
class ExtensionCookiesTest : public testing::Test { … };
TEST_F(ExtensionCookiesTest, StoreIdProfileConversion) { … }
TEST_F(ExtensionCookiesTest, ExtensionTypeCreation) { … }
TEST_F(ExtensionCookiesTest, GetURLFromCanonicalCookie) { … }
TEST_F(ExtensionCookiesTest, EmptyDictionary) { … }
TEST_F(ExtensionCookiesTest, DomainMatching) { … }
TEST_F(ExtensionCookiesTest, DecodeUTF8WithErrorHandling) { … }
TEST_F(ExtensionCookiesTest, PartitionKeySerialization) { … }
}