diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-13 20:17:00 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-13 20:17:00 +0000 |
commit | 22ab59ba73bf2df9c042ef76dd515a3edaf8c33d (patch) | |
tree | dedfb1fce9d6b29cdc1193e6663f2153d8263fec /chrome/browser/importer/importer_host.h | |
parent | 037f63fb8efeb26f6d75f9dc0a6b3380460f4ea4 (diff) | |
download | chromium_src-22ab59ba73bf2df9c042ef76dd515a3edaf8c33d.zip chromium_src-22ab59ba73bf2df9c042ef76dd515a3edaf8c33d.tar.gz chromium_src-22ab59ba73bf2df9c042ef76dd515a3edaf8c33d.tar.bz2 |
importer: Pull ExternalProcessImporterHost out of ImporterHost.
BUG=None
TEST=None
R=avi@chromium.org,mirandac@chromium.org
Review URL: http://codereview.chromium.org/6685035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/importer_host.h')
-rw-r--r-- | chrome/browser/importer/importer_host.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/chrome/browser/importer/importer_host.h b/chrome/browser/importer/importer_host.h index 1b94a4a..9082973 100644 --- a/chrome/browser/importer/importer_host.h +++ b/chrome/browser/importer/importer_host.h @@ -177,48 +177,5 @@ class ImporterHost : public base::RefCountedThreadSafe<ImporterHost>, DISALLOW_COPY_AND_ASSIGN(ImporterHost); }; -// This class manages the import process. It creates the in-process half of the -// importer bridge and the external process importer client. -class ExternalProcessImporterHost : public ImporterHost { - public: - ExternalProcessImporterHost(); - - // ImporterHost: - virtual void Cancel() OVERRIDE; - - private: - // ImporterHost: - virtual void StartImportSettings(const importer::ProfileInfo& profile_info, - Profile* target_profile, - uint16 items, - ProfileWriter* writer, - bool first_run) OVERRIDE; - virtual void InvokeTaskIfDone() OVERRIDE; - virtual void Loaded(BookmarkModel* model) OVERRIDE; - - // Used to pass notifications from the browser side to the external process. - ExternalProcessImporterClient* client_; - - // Data for the external importer: ------------------------------------------ - // Information about a profile needed for importing. - const importer::ProfileInfo* profile_info_; - - // Mask of items to be imported (see importer::ImportItem). - uint16 items_; - - // Whether to import bookmarks to the bookmark bar. - bool import_to_bookmark_bar_; - - // True if the import process has been cancelled. - bool cancelled_; - - // True if the import process has been launched. This prevents race - // conditions on import cancel. - bool import_process_launched_; - - // End of external importer data -------------------------------------------- - - DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterHost); -}; #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ |