- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / importer / importer_lock_dialog.h
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
7
8 #include "base/callback_forward.h"
9 #include "ui/gfx/native_widget_types.h"
10
11 namespace importer {
12
13 // This function is called by an ImporterHost, and presents the Firefox profile
14 // warning dialog. After closing the dialog, the ImportHost receives a callback
15 // with the message either to skip the import, or to continue the process.
16 void ShowImportLockDialog(gfx::NativeWindow parent,
17                           const base::Callback<void(bool)>& callback);
18
19 }  // namespace importer
20
21 #endif  // CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_