• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #pragma once
8 
9 #include "ui/gfx/native_widget_types.h"
10 
11 class ImporterHost;
12 
13 namespace importer {
14 
15 // This function is called by an ImporterHost, and presents the Firefox profile
16 // warning dialog. After closing the dialog, the ImportHost receives a callback
17 // with the message either to skip the import, or to continue the process.
18 void ShowImportLockDialog(gfx::NativeWindow parent,
19                           ImporterHost* importer_host);
20 
21 }  // namespace importer
22 
23 #endif  // CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_
24