#include "chrome/browser/history/profile_based_browsing_history_driver.h"
#include <utility>
#include "chrome/browser/history/history_utils.h"
#include "chrome/browser/history/web_history_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/browsing_data/core/history_notice_utils.h"
#include "components/history/core/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/webapps/browser/banners/app_banner_settings_helper.h"
#include "extensions/buildflags/buildflags.h"
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "chrome/browser/extensions/activity_log/activity_log.h"
#endif
void ProfileBasedBrowsingHistoryDriver::OnRemoveVisits(
const std::vector<history::ExpireHistoryArgs>& expire_list) { … }
bool ProfileBasedBrowsingHistoryDriver::AllowHistoryDeletions() { … }
bool ProfileBasedBrowsingHistoryDriver::ShouldHideWebHistoryUrl(
const GURL& url) { … }
history::WebHistoryService*
ProfileBasedBrowsingHistoryDriver::GetWebHistoryService() { … }
void ProfileBasedBrowsingHistoryDriver::
ShouldShowNoticeAboutOtherFormsOfBrowsingHistory(
const syncer::SyncService* sync_service,
history::WebHistoryService* history_service,
base::OnceCallback<void(bool)> callback) { … }