| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 virtual void BookmarkNodeChanged(BookmarkModel* model, | 102 virtual void BookmarkNodeChanged(BookmarkModel* model, |
| 103 const BookmarkNode* node) {} | 103 const BookmarkNode* node) {} |
| 104 virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, | 104 virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, |
| 105 const BookmarkNode* node) {} | 105 const BookmarkNode* node) {} |
| 106 virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model, | 106 virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model, |
| 107 const BookmarkNode* node) {} | 107 const BookmarkNode* node) {} |
| 108 virtual void BookmarkModelBeingDeleted(BookmarkModel* model); | 108 virtual void BookmarkModelBeingDeleted(BookmarkModel* model); |
| 109 | 109 |
| 110 // NotificationObserver implementation. Called when TemplateURLModel has been | 110 // NotificationObserver implementation. Called when TemplateURLModel has been |
| 111 // loaded. | 111 // loaded. |
| 112 void Observe(NotificationType type, | 112 virtual void Observe(NotificationType type, |
| 113 const NotificationSource& source, | 113 const NotificationSource& source, |
| 114 const NotificationDetails& details); | 114 const NotificationDetails& details); |
| 115 | 115 |
| 116 // ShowWarningDialog() asks user to close the application that is owning the | 116 // ShowWarningDialog() asks user to close the application that is owning the |
| 117 // lock. They can retry or skip the importing process. | 117 // lock. They can retry or skip the importing process. |
| 118 void ShowWarningDialog(); | 118 void ShowWarningDialog(); |
| 119 | 119 |
| 120 // OnLockViewEnd() is called when user end the dialog by clicking a push | 120 // OnLockViewEnd() is called when user end the dialog by clicking a push |
| 121 // button. |is_continue| is true when user clicked the "Continue" button. | 121 // button. |is_continue| is true when user clicked the "Continue" button. |
| 122 void OnLockViewEnd(bool is_continue); | 122 void OnLockViewEnd(bool is_continue); |
| 123 | 123 |
| 124 // Starts the process of importing the settings and data depending on what | 124 // Starts the process of importing the settings and data depending on what |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 // first run UI. | 532 // first run UI. |
| 533 void StartImportingWithUI(gfx::NativeWindow parent_window, | 533 void StartImportingWithUI(gfx::NativeWindow parent_window, |
| 534 uint16 items, | 534 uint16 items, |
| 535 ImporterHost* coordinator, | 535 ImporterHost* coordinator, |
| 536 const importer::ProfileInfo& source_profile, | 536 const importer::ProfileInfo& source_profile, |
| 537 Profile* target_profile, | 537 Profile* target_profile, |
| 538 ImportObserver* observer, | 538 ImportObserver* observer, |
| 539 bool first_run); | 539 bool first_run); |
| 540 | 540 |
| 541 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ | 541 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ |
| OLD | NEW |