// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/api/cookies/cookies_helpers.h" #include <limits> #include <memory> #include "net/cookies/canonical_cookie.h" #include "testing/gtest/include/gtest/gtest.h" namespace extensions { // Tests that cookies with an expiration date too far in the future to represent // with base::Time serialize gracefully. // Regression test for https://crbug.com/848221. TEST(CookiesHelperUnittest, CookieConversionWithInfiniteExpirationDate) { … } } // namespace extensions