#include "chrome/browser/browsing_data/counters/site_data_counter.h"
#include "base/functional/bind.h"
#include "chrome/browser/browsing_data/counters/browsing_data_counter_utils.h"
#include "chrome/browser/browsing_data/counters/site_data_counting_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "components/browsing_data/core/pref_names.h"
#include "components/sync/service/sync_service.h"
#include "content/public/browser/browser_thread.h"
BrowserThread;
namespace {
bool CheckSyncState(Profile* profile, const syncer::SyncService* sync_service) { … }
}
SiteDataCounter::SiteDataCounter(Profile* profile)
: … { … }
SiteDataCounter::~SiteDataCounter() { … }
void SiteDataCounter::OnInitialized() { … }
const char* SiteDataCounter::GetPrefName() const { … }
void SiteDataCounter::Count() { … }
void SiteDataCounter::Done(int origin_count) { … }