1ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// Copyright (c) 2011 The Chromium Authors. All rights reserved.
2ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// Use of this source code is governed by a BSD-style license that can be
3ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// found in the LICENSE file.
4ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
5ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#ifndef CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
6ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#define CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
7ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#pragma once
8ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
9ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#include "ui/gfx/native_widget_types.h"
10ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
11ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsenclass ImporterHost;
12ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
13ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsennamespace importer {
14ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
15ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// This function is called by an ImporterHost, and presents the Firefox profile
16ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// warning dialog. After closing the dialog, the ImportHost receives a callback
17ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen// with the message either to skip the import, or to continue the process.
18ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsenvoid ShowImportLockDialog(gfx::NativeWindow parent,
19ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen                          ImporterHost* importer_host);
20ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
21ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen}  // namespace importer
22ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen
23ddb351dbec246cf1fab5ec20d2d5520909041de1Kristian Monsen#endif  // CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
24