#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <memory>
#include <string>
#include <string_view>
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/test/metrics/histogram_tester.h"
#include "net/base/cache_type.h"
#include "net/disk_cache/disk_cache.h"
#include "net/disk_cache/disk_cache_test_base.h"
#include "net/disk_cache/simple/simple_file_tracker.h"
#include "net/disk_cache/simple/simple_histogram_enums.h"
#include "net/disk_cache/simple/simple_synchronous_entry.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace disk_cache {
class SimpleFileTrackerTest : public DiskCacheTest { … };
TEST_F(SimpleFileTrackerTest, Basic) { … }
TEST_F(SimpleFileTrackerTest, Collision) { … }
TEST_F(SimpleFileTrackerTest, Reopen) { … }
TEST_F(SimpleFileTrackerTest, PointerStability) { … }
TEST_F(SimpleFileTrackerTest, Doom) { … }
TEST_F(SimpleFileTrackerTest, OverLimit) { … }
}