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

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

Issue 6979007: Many fixes to bookmark importing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Happy tests =) Created 9 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 69abb98785919807cd515d3ce027349f3c93364d..2e5bdd51905f002400ef99b84c2a0fbb878010bd 100644
--- a/chrome/browser/importer/external_process_importer_client.h
+++ b/chrome/browser/importer/external_process_importer_client.h
@@ -34,8 +34,7 @@ class ExternalProcessImporterClient : public ProfileImportProcessClient {
ExternalProcessImporterClient(ExternalProcessImporterHost* importer_host,
const importer::SourceProfile& source_profile,
uint16 items,
- InProcessImporterBridge* bridge,
- bool import_to_bookmark_bar);
+ InProcessImporterBridge* bridge);
virtual ~ExternalProcessImporterClient();
// Cancel import process on IO thread.
@@ -78,10 +77,8 @@ class ExternalProcessImporterClient : public ProfileImportProcessClient {
// First message received when importing bookmarks.
// |first_folder_name| can be NULL.
- // |options| is described in ProfileWriter::BookmarkOptions.
// |total_bookmarks_count| is the total number of bookmarks to be imported.
virtual void OnBookmarksImportStart(const string16& first_folder_name,
- int options,
size_t total_bookmarks_count) OVERRIDE;
// Called when a group of bookmarks has been received.
@@ -121,9 +118,6 @@ class ExternalProcessImporterClient : public ProfileImportProcessClient {
// under which imported bookmarks will be placed.
string16 bookmarks_first_folder_name_;
- // Determines how bookmarks should be added (ProfileWriter::BookmarkOptions).
- int bookmarks_options_;
-
// Total number of bookmarks to import.
size_t total_bookmarks_count_;
@@ -146,7 +140,6 @@ class ExternalProcessImporterClient : public ProfileImportProcessClient {
// Data to be passed from the importer host to the external importer.
const importer::SourceProfile& source_profile_;
uint16 items_;
- bool import_to_bookmark_bar_;
// Takes import data coming over IPC and delivers it to be written by the
// ProfileWriter. Released by ExternalProcessImporterClient in its

Powered by Google App Engine
This is Rietveld 408576698