#include "chrome/browser/importer/external_process_importer_host.h"
#include <memory>
#include "base/functional/bind.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/importer/external_process_importer_client.h"
#include "chrome/browser/importer/firefox_profile_lock.h"
#include "chrome/browser/importer/importer_lock_dialog.h"
#include "chrome/browser/importer/importer_progress_observer.h"
#include "chrome/browser/importer/in_process_importer_bridge.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/search_engines/template_url_service.h"
#include "content/public/browser/browser_thread.h"
BookmarkModel;
BrowserThread;
ExternalProcessImporterHost::ExternalProcessImporterHost()
: … { … }
void ExternalProcessImporterHost::Cancel() { … }
void ExternalProcessImporterHost::StartImportSettings(
const importer::SourceProfile& source_profile,
Profile* target_profile,
uint16_t items,
ProfileWriter* writer) { … }
void ExternalProcessImporterHost::NotifyImportStarted() { … }
void ExternalProcessImporterHost::NotifyImportItemStarted(
importer::ImportItem item) { … }
void ExternalProcessImporterHost::NotifyImportItemEnded(
importer::ImportItem item) { … }
void ExternalProcessImporterHost::NotifyImportEnded() { … }
ExternalProcessImporterHost::~ExternalProcessImporterHost() = default;
void ExternalProcessImporterHost::LaunchImportIfReady() { … }
void ExternalProcessImporterHost::BookmarkModelLoaded(bool ids_reassigned) { … }
void ExternalProcessImporterHost::BookmarkModelBeingDeleted() { … }
void ExternalProcessImporterHost::BookmarkModelChanged() { … }
void ExternalProcessImporterHost::OnTemplateURLServiceLoaded() { … }
void ExternalProcessImporterHost::ShowWarningDialog() { … }
void ExternalProcessImporterHost::OnImportLockDialogEnd(bool is_continue) { … }
bool ExternalProcessImporterHost::CheckForFirefoxLock(
const importer::SourceProfile& source_profile) { … }
void ExternalProcessImporterHost::CheckForLoadedModels(uint16_t items) { … }