#include "components/offline_pages/core/model/persistent_page_consistency_check_task.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/mock_callback.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "components/offline_pages/core/client_namespace_constants.h"
#include "components/offline_pages/core/model/model_task_test_base.h"
#include "components/offline_pages/core/model/offline_page_test_utils.h"
#include "components/offline_pages/core/offline_page_archive_publisher.h"
#include "testing/gtest/include/gtest/gtest.h"
A;
Eq;
IsEmpty;
UnorderedElementsAre;
namespace offline_pages {
PersistentPageConsistencyCheckCallback;
class PersistentPageConsistencyCheckTaskTest : public ModelTaskTestBase { … };
#if BUILDFLAG(IS_WIN)
#define MAYBE_ClearExpiredPersistentPages …
#else
#define MAYBE_ClearExpiredPersistentPages …
#endif
TEST_F(PersistentPageConsistencyCheckTaskTest,
MAYBE_ClearExpiredPersistentPages) { … }
#if BUILDFLAG(IS_WIN)
#define MAYBE_ClearExpiredPersistentPagesByFilePath …
#else
#define MAYBE_ClearExpiredPersistentPagesByFilePath …
#endif
TEST_F(PersistentPageConsistencyCheckTaskTest,
MAYBE_ClearExpiredPersistentPagesByFilePath) { … }
}