#include "chrome/common/notifications/notification_image_retainer.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/run_loop.h"
#include "base/test/scoped_path_override.h"
#include "base/test/task_environment.h"
#include "chrome/common/chrome_paths.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/image/image.h"
namespace {
constexpr base::TimeDelta kDeletionDelay = …;
}
class NotificationImageRetainerTest : public ::testing::Test { … };
TEST_F(NotificationImageRetainerTest, RegisterTemporaryImage) { … }
TEST_F(NotificationImageRetainerTest, DeleteFilesInBatch) { … }
TEST_F(NotificationImageRetainerTest, CleanupFilesFromPrevSessions) { … }