#include "third_party/blink/renderer/platform/loader/fetch/resource.h"
#include <string_view>
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/loader/fetch/memory_cache.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_request.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_response.h"
#include "third_party/blink/renderer/platform/loader/testing/mock_resource.h"
#include "third_party/blink/renderer/platform/loader/testing/mock_resource_client.h"
#include "third_party/blink/renderer/platform/testing/testing_platform_support_with_mock_scheduler.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
namespace blink {
class ResourceTest : public testing::Test { … };
TEST_F(ResourceTest, RevalidateWithFragment) { … }
TEST_F(ResourceTest, Vary) { … }
TEST_F(ResourceTest, RevalidationFailed) { … }
TEST_F(ResourceTest, RevalidationSucceeded) { … }
TEST_F(ResourceTest, RevalidationSucceededForResourceWithoutBody) { … }
TEST_F(ResourceTest, RevalidationSucceededUpdateHeaders) { … }
TEST_F(ResourceTest, RedirectDuringRevalidation) { … }
class ScopedResourceMockClock { … };
TEST_F(ResourceTest, StaleWhileRevalidateCacheControl) { … }
TEST_F(ResourceTest, StaleWhileRevalidateCacheControlWithRedirect) { … }
TEST_F(ResourceTest, FreshnessLifetime) { … }
TEST_F(ResourceTest, DefaultOverheadSize) { … }
TEST_F(ResourceTest, SetIsAdResource) { … }
TEST_F(ResourceTest, GarbageCollection) { … }
}