OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_ |
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 namespace importer { | 11 namespace importer { |
12 | 12 |
13 // This function is called by an ImporterHost, and presents the Firefox profile | 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 | 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. | 15 // with the message either to skip the import, or to continue the process. |
16 void ShowImportLockDialog(gfx::NativeWindow parent, | 16 void ShowImportLockDialog(gfx::NativeWindow parent, |
17 const base::Callback<void(bool)>& callback); | 17 const base::Callback<void(bool)>& callback); |
18 | 18 void HideImportLockDialog(); |
Ilya Sherman
2017/03/27 15:21:52
Please add documentation for this function.
Ilya Sherman
2017/03/27 15:21:52
nit: Please leave a blank line before and after th
nikhil.sahni
2017/03/28 11:21:59
Done.
nikhil.sahni
2017/03/28 11:21:59
Done.
| |
19 } // namespace importer | 19 } // namespace importer |
20 | 20 |
21 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_ | 21 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LOCK_DIALOG_H_ |
OLD | NEW |