chromium/chrome/browser/importer/external_process_importer_client.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/importer/external_process_importer_client.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/importer/external_process_importer_host.h"
#include "chrome/browser/importer/in_process_importer_bridge.h"
#include "chrome/common/importer/firefox_importer_utils.h"
#include "chrome/common/importer/imported_bookmark_entry.h"
#include "chrome/common/importer/profile_import.mojom.h"
#include "chrome/grit/generated_resources.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/child_process_host.h"
#include "content/public/browser/service_process_host.h"
#include "ui/base/l10n/l10n_util.h"

ExternalProcessImporterClient::ExternalProcessImporterClient(
    base::WeakPtr<ExternalProcessImporterHost> importer_host,
    const importer::SourceProfile& source_profile,
    uint16_t items,
    InProcessImporterBridge* bridge)
    :{}

void ExternalProcessImporterClient::Start() {}

void ExternalProcessImporterClient::Cancel() {}

void ExternalProcessImporterClient::OnProcessCrashed() {}

void ExternalProcessImporterClient::OnImportStart() {}

void ExternalProcessImporterClient::OnImportFinished(
    bool succeeded, const std::string& error_msg) {}

void ExternalProcessImporterClient::OnImportItemStart(
    importer::ImportItem import_item) {}

void ExternalProcessImporterClient::OnImportItemFinished(
    importer::ImportItem import_item) {}

void ExternalProcessImporterClient::OnHistoryImportStart(
    uint32_t total_history_rows_count) {}

void ExternalProcessImporterClient::OnHistoryImportGroup(
    const std::vector<ImporterURLRow>& history_rows_group,
    int visit_source) {}

void ExternalProcessImporterClient::OnHomePageImportReady(
    const GURL& home_page) {}

void ExternalProcessImporterClient::OnBookmarksImportStart(
    const std::u16string& first_folder_name,
    uint32_t total_bookmarks_count) {}

void ExternalProcessImporterClient::OnBookmarksImportGroup(
    const std::vector<ImportedBookmarkEntry>& bookmarks_group) {}

void ExternalProcessImporterClient::OnFaviconsImportStart(
    uint32_t total_favicons_count) {}

void ExternalProcessImporterClient::OnFaviconsImportGroup(
    const favicon_base::FaviconUsageDataList& favicons_group) {}

void ExternalProcessImporterClient::OnPasswordFormImportReady(
    const importer::ImportedPasswordForm& form) {}

void ExternalProcessImporterClient::OnKeywordsImportReady(
    const std::vector<importer::SearchEngineInfo>& search_engines,
    bool unique_on_host_and_path) {}

void ExternalProcessImporterClient::OnAutofillFormDataImportStart(
    uint32_t total_autofill_form_data_entry_count) {}

void ExternalProcessImporterClient::OnAutofillFormDataImportGroup(
    const std::vector<ImporterAutofillFormDataEntry>&
        autofill_form_data_entry_group) {}

ExternalProcessImporterClient::~ExternalProcessImporterClient() {}

void ExternalProcessImporterClient::Cleanup() {}

void ExternalProcessImporterClient::CloseMojoHandles() {}