#include "components/browser_sync/signin_confirmation_helper.h"
#include <memory>
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/task/sequenced_task_runner.h"
#include "components/history/core/browser/history_backend.h"
#include "components/history/core/browser/history_db_task.h"
#include "components/history/core/browser/history_service.h"
#include "components/history/core/browser/history_types.h"
namespace browser_sync {
namespace {
class HasTypedURLsTask : public history::HistoryDBTask { … };
}
SigninConfirmationHelper::SigninConfirmationHelper(
history::HistoryService* history_service,
base::OnceCallback<void(bool)> return_result)
: … { … }
SigninConfirmationHelper::~SigninConfirmationHelper() { … }
void SigninConfirmationHelper::OnHistoryQueryResults(
size_t max_entries,
history::QueryResults results) { … }
void SigninConfirmationHelper::CheckHasHistory(int max_entries) { … }
void SigninConfirmationHelper::CheckHasTypedURLs() { … }
void SigninConfirmationHelper::PostResult(bool result) { … }
void SigninConfirmationHelper::ReturnResult(bool result) { … }
}