| 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_PROFILE_IMPORT_PROCESS_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ | 6 #define CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // These methods pass back data to be written to the user's profile from | 50 // These methods pass back data to be written to the user's profile from |
| 51 // the external process to the process host client. | 51 // the external process to the process host client. |
| 52 virtual void OnHistoryImportStart(size_t total_history_rows_count); | 52 virtual void OnHistoryImportStart(size_t total_history_rows_count); |
| 53 virtual void OnHistoryImportGroup( | 53 virtual void OnHistoryImportGroup( |
| 54 const std::vector<history::URLRow>& history_rows_group, | 54 const std::vector<history::URLRow>& history_rows_group, |
| 55 int visit_source); // visit_source has history::VisitSource type. | 55 int visit_source); // visit_source has history::VisitSource type. |
| 56 | 56 |
| 57 virtual void OnHomePageImportReady(const GURL& home_page); | 57 virtual void OnHomePageImportReady(const GURL& home_page); |
| 58 | 58 |
| 59 virtual void OnBookmarksImportStart(const string16& first_folder_name, | 59 virtual void OnBookmarksImportStart(const string16& first_folder_name, |
| 60 int options, | |
| 61 size_t total_bookmarks_count); | 60 size_t total_bookmarks_count); |
| 62 virtual void OnBookmarksImportGroup( | 61 virtual void OnBookmarksImportGroup( |
| 63 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks); | 62 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks); |
| 64 | 63 |
| 65 virtual void OnFaviconsImportStart(size_t total_favicons_count); | 64 virtual void OnFaviconsImportStart(size_t total_favicons_count); |
| 66 virtual void OnFaviconsImportGroup( | 65 virtual void OnFaviconsImportGroup( |
| 67 const std::vector<history::ImportedFaviconUsage>& favicons_group); | 66 const std::vector<history::ImportedFaviconUsage>& favicons_group); |
| 68 | 67 |
| 69 virtual void OnPasswordFormImportReady( | 68 virtual void OnPasswordFormImportReady( |
| 70 const webkit_glue::PasswordForm& form); | 69 const webkit_glue::PasswordForm& form); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 81 | 80 |
| 82 virtual ~ProfileImportProcessClient(); | 81 virtual ~ProfileImportProcessClient(); |
| 83 | 82 |
| 84 private: | 83 private: |
| 85 friend class ProfileImportProcessHost; | 84 friend class ProfileImportProcessHost; |
| 86 | 85 |
| 87 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessClient); | 86 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessClient); |
| 88 }; | 87 }; |
| 89 | 88 |
| 90 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ | 89 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ |
| OLD | NEW |