#include "chrome/browser/performance_manager/test_support/site_data_utils.h"
#include <memory>
#include "base/memory/weak_ptr.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade_factory.h"
#include "components/performance_manager/persistence/site_data/leveldb_site_data_store.h"
#include "components/performance_manager/persistence/site_data/site_data_impl.h"
#include "components/performance_manager/persistence/site_data/site_data_writer.h"
#include "components/performance_manager/public/decorators/site_data_recorder.h"
#include "components/performance_manager/public/performance_manager.h"
namespace performance_manager {
SiteDataTestHarness::SiteDataTestHarness()
: … { … }
SiteDataTestHarness::~SiteDataTestHarness() = default;
void SiteDataTestHarness::SetUp() { … }
void SiteDataTestHarness::TearDown(Profile* profile) { … }
void SiteDataTestHarness::TearDown() { … }
internal::SiteDataImpl* GetSiteDataImplForPageNode(PageNode* page_node) { … }
void MarkWebContentsAsLoadedInBackgroundInSiteDataDb(
content::WebContents* web_contents) { … }
void MarkWebContentsAsUnloadedInBackgroundInSiteDataDb(
content::WebContents* web_contents) { … }
void ExpireSiteDataObservationWindowsForWebContents(
content::WebContents* web_contents) { … }
}