| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 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_PROGRESS_DIALOG_H_ | |
| 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_ | |
| 7 | |
| 8 #include "ui/gfx/native_widget_types.h" | |
| 9 | |
| 10 class ImporterHost; | |
| 11 class ImporterObserver; | |
| 12 class Profile; | |
| 13 | |
| 14 namespace importer { | |
| 15 | |
| 16 struct SourceProfile; | |
| 17 | |
| 18 // Shows an UI for importing and begins importing the specified |items| from | |
| 19 // |source_profile| to |target_profile|. |importer_observer| is notified when | |
| 20 // the process is complete, it can be NULL. |first_run| is true if it's invoked | |
| 21 // in the first run UI. | |
| 22 void ShowImportProgressDialog(uint16 items, | |
| 23 ImporterHost* importer_host, | |
| 24 ImporterObserver* importer_observer, | |
| 25 const SourceProfile& source_profile, | |
| 26 Profile* target_profile, | |
| 27 bool first_run); | |
| 28 | |
| 29 } // namespace importer | |
| 30 | |
| 31 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_ | |
| OLD | NEW |