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_PROFILE_IMPORT_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ |
6 #define CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 virtual void OnHomePageImportReady( | 56 virtual void OnHomePageImportReady( |
57 const GURL& home_page) {} | 57 const GURL& home_page) {} |
58 | 58 |
59 virtual void OnBookmarksImportStart( | 59 virtual void OnBookmarksImportStart( |
60 const std::wstring first_folder_name, | 60 const std::wstring first_folder_name, |
61 int options, size_t total_bookmarks_count) {} | 61 int options, size_t total_bookmarks_count) {} |
62 virtual void OnBookmarksImportGroup( | 62 virtual void OnBookmarksImportGroup( |
63 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks) {} | 63 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks) {} |
64 | 64 |
65 virtual void OnFavIconsImportStart(size_t total_fav_icons_count) {} | 65 virtual void OnFavIconsImportStart(size_t total_favicons_count) {} |
66 virtual void OnFavIconsImportGroup( | 66 virtual void OnFavIconsImportGroup( |
67 const std::vector<history::ImportedFavIconUsage>& fav_icons_group) {} | 67 const std::vector<history::ImportedFavIconUsage>& favicons_group) {} |
68 | 68 |
69 virtual void OnPasswordFormImportReady( | 69 virtual void OnPasswordFormImportReady( |
70 const webkit_glue::PasswordForm& form) {} | 70 const webkit_glue::PasswordForm& form) {} |
71 | 71 |
72 virtual void OnKeywordsImportReady( | 72 virtual void OnKeywordsImportReady( |
73 const std::vector<TemplateURL>& template_urls, | 73 const std::vector<TemplateURL>& template_urls, |
74 int default_keyword_index, bool unique_on_host_and_path) {} | 74 int default_keyword_index, bool unique_on_host_and_path) {} |
75 | 75 |
76 virtual bool OnMessageReceived(const IPC::Message& message); | 76 virtual bool OnMessageReceived(const IPC::Message& message); |
77 | 77 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 // Receives messages to be passed back to the importer host. | 131 // Receives messages to be passed back to the importer host. |
132 scoped_refptr<ImportProcessClient> import_process_client_; | 132 scoped_refptr<ImportProcessClient> import_process_client_; |
133 | 133 |
134 // The thread where the import_process_client_ lives. | 134 // The thread where the import_process_client_ lives. |
135 BrowserThread::ID thread_id_; | 135 BrowserThread::ID thread_id_; |
136 | 136 |
137 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessHost); | 137 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessHost); |
138 }; | 138 }; |
139 | 139 |
140 #endif // CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ | 140 #endif // CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ |
OLD | NEW |