Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(990)

Unified Diff: chrome/browser/importer/external_process_importer_client.h

Issue 14575004: Extract BookmarksFileImporter from Firefox2Importer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/importer/external_process_importer_client.h
diff --git a/chrome/browser/importer/external_process_importer_client.h b/chrome/browser/importer/external_process_importer_client.h
index 092901fa3c1cdc40bc901255f195999514f891bc..c5d2b00f6f7d017836ac10208e6833cf64cb44dc 100644
--- a/chrome/browser/importer/external_process_importer_client.h
+++ b/chrome/browser/importer/external_process_importer_client.h
@@ -12,20 +12,22 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "base/string16.h"
+#include "chrome/browser/history/history_types.h"
#include "chrome/browser/importer/importer_data_types.h"
-#include "chrome/browser/importer/profile_writer.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/utility_process_host_client.h"
class ExternalProcessImporterHost;
+struct ImportedBookmarkEntry;
class InProcessImporterBridge;
+class TemplateURL;
namespace content {
+struct PasswordForm;
class UtilityProcessHost;
}
namespace history {
-class URLRow;
struct ImportedFaviconUsage;
}
@@ -61,7 +63,7 @@ class ExternalProcessImporterClient : public content::UtilityProcessHostClient {
void OnBookmarksImportStart(const string16& first_folder_name,
size_t total_bookmarks_count);
void OnBookmarksImportGroup(
- const std::vector<ProfileWriter::BookmarkEntry>& bookmarks_group);
+ const std::vector<ImportedBookmarkEntry>& bookmarks_group);
void OnFaviconsImportStart(size_t total_favicons_count);
void OnFaviconsImportGroup(
const std::vector<history::ImportedFaviconUsage>& favicons_group);
@@ -90,7 +92,7 @@ class ExternalProcessImporterClient : public content::UtilityProcessHostClient {
// These variables store data being collected from the importer until the
// entire group has been collected and is ready to be written to the profile.
history::URLRows history_rows_;
- std::vector<ProfileWriter::BookmarkEntry> bookmarks_;
+ std::vector<ImportedBookmarkEntry> bookmarks_;
std::vector<history::ImportedFaviconUsage> favicons_;
// Usually some variation on IDS_BOOKMARK_GROUP_...; the name of the folder

Powered by Google App Engine
This is Rietveld 408576698