#include <algorithm>
#include "apps/saved_files_service.h"
#include "base/files/file_path.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/values_test_util.h"
#include "base/values.h"
#include "chrome/browser/extensions/test_extension_environment.h"
#include "chrome/test/base/testing_profile.h"
#include "extensions/browser/api/file_system/saved_file_entry.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_system.h"
#include "extensions/common/extension.h"
#include "testing/gtest/include/gtest/gtest.h"
#define TRACE_CALL(expression) …
SavedFilesService;
SavedFileEntry;
namespace {
std::string GenerateId(int i) { … }
}
class SavedFilesServiceUnitTest : public testing::Test { … };
TEST_F(SavedFilesServiceUnitTest, RetainTwoFilesTest) { … }
TEST_F(SavedFilesServiceUnitTest, NoRetainEntriesPermissionTest) { … }
TEST_F(SavedFilesServiceUnitTest, EvictionTest) { … }
TEST_F(SavedFilesServiceUnitTest, SequenceNumberCompactionTest) { … }