diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 19:10:18 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 19:10:18 +0000 |
commit | 2011cae921b2d88be4b8e4f31197dd8bdd2c56b3 (patch) | |
tree | 8fa84ba0161024c9c23116144f353541184f0ce5 /chrome/browser/importer/importer.h | |
parent | 9866440c2a379bab6fa7e1947405df00958ca3b9 (diff) | |
download | chromium_src-2011cae921b2d88be4b8e4f31197dd8bdd2c56b3.zip chromium_src-2011cae921b2d88be4b8e4f31197dd8bdd2c56b3.tar.gz chromium_src-2011cae921b2d88be4b8e4f31197dd8bdd2c56b3.tar.bz2 |
browser porting, part 2 - importer
Review URL: http://codereview.chromium.org/12688
Patch from Pawel Hajdan jr.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer/importer.h')
-rw-r--r-- | chrome/browser/importer/importer.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/importer/importer.h b/chrome/browser/importer/importer.h index 4e57b64..f7190e9 100644 --- a/chrome/browser/importer/importer.h +++ b/chrome/browser/importer/importer.h @@ -8,15 +8,18 @@ #include <set> #include <vector> +#include "build/build_config.h" + #include "base/basictypes.h" #include "base/message_loop.h" #include "base/ref_counted.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/history/history_types.h" +#if defined(OS_WIN) #include "chrome/browser/ie7_password.h" +#endif #include "chrome/browser/profile.h" #include "chrome/browser/template_url.h" -#include "chrome/browser/views/importer_lock_view.h" #include "chrome/common/notification_service.h" #include "googleurl/src/gurl.h" #include "webkit/glue/password_form.h" @@ -97,7 +100,9 @@ class ProfileWriter : public base::RefCounted<ProfileWriter> { // Helper methods for adding data to local stores. virtual void AddPasswordForm(const PasswordForm& form); +#if defined(OS_WIN) virtual void AddIE7PasswordInfo(const IE7PasswordInfo& info); +#endif virtual void AddHistoryPage(const std::vector<history::URLRow>& page); virtual void AddHomepage(const GURL& homepage); // Adds the bookmarks to the BookmarkModel. @@ -407,6 +412,9 @@ class ImportObserver { }; +#if defined(OS_WIN) +// TODO(port): Make StartImportingWithUI portable. + // Shows a UI for importing and begins importing the specified items from // source_profile to target_profile. observer is notified when the process is // complete, can be NULL. parent is the window to parent the UI to, can be NULL @@ -419,5 +427,6 @@ void StartImportingWithUI(HWND parent_window, Profile* target_profile, ImportObserver* observer, bool first_run); +#endif #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ |