| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 virtual void ImportComplete() = 0; | 507 virtual void ImportComplete() = 0; |
| 508 }; | 508 }; |
| 509 | 509 |
| 510 | 510 |
| 511 // Shows a UI for importing and begins importing the specified items from | 511 // Shows a UI for importing and begins importing the specified items from |
| 512 // source_profile to target_profile. observer is notified when the process is | 512 // source_profile to target_profile. observer is notified when the process is |
| 513 // complete, can be NULL. parent is the window to parent the UI to, can be NULL | 513 // complete, can be NULL. parent is the window to parent the UI to, can be NULL |
| 514 // if there's nothing to parent to. first_run is true if it's invoked in the | 514 // if there's nothing to parent to. first_run is true if it's invoked in the |
| 515 // first run UI. | 515 // first run UI. |
| 516 void StartImportingWithUI(gfx::NativeWindow parent_window, | 516 void StartImportingWithUI(gfx::NativeWindow parent_window, |
| 517 int16 items, | 517 uint16 items, |
| 518 ImporterHost* coordinator, | 518 ImporterHost* coordinator, |
| 519 const importer::ProfileInfo& source_profile, | 519 const importer::ProfileInfo& source_profile, |
| 520 Profile* target_profile, | 520 Profile* target_profile, |
| 521 ImportObserver* observer, | 521 ImportObserver* observer, |
| 522 bool first_run); | 522 bool first_run); |
| 523 | 523 |
| 524 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ | 524 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
| OLD | NEW |