#include "chrome/browser/ui/views/importer/import_lock_dialog_view.h"
#include "base/functional/bind.h"
#include "base/metrics/user_metrics.h"
#include "base/task/single_thread_task_runner.h"
#include "chrome/browser/importer/importer_lock_dialog.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/layout/fill_layout.h"
UserMetricsAction;
namespace importer {
void ShowImportLockDialog(gfx::NativeWindow parent,
base::OnceCallback<void(bool)> callback,
int importer_lock_title_id,
int importer_lock_text_id) { … }
}
void ImportLockDialogView::Show(gfx::NativeWindow parent,
base::OnceCallback<void(bool)> callback,
int importer_lock_title_id,
int importer_lock_text_id) { … }
ImportLockDialogView::ImportLockDialogView(
base::OnceCallback<void(bool)> callback,
int importer_lock_title_id,
int importer_lock_text_id)
: … { … }
ImportLockDialogView::~ImportLockDialogView() = default;
BEGIN_METADATA(…)