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

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

Issue 18120005: Remove Google Toolbar importer (aka google.com/bookmarks importer). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -explicit Created 7 years, 6 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
« no previous file with comments | « chrome/browser/importer/importer_data_types.h ('k') | chrome/browser/importer/importer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_host.h
diff --git a/chrome/browser/importer/importer_host.h b/chrome/browser/importer/importer_host.h
index ecfe9e6078f2b29036ab071b79885959ef548c0a..ce57c98ae1503bb3981ed66ce0a2c02fea8b1380 100644
--- a/chrome/browser/importer/importer_host.h
+++ b/chrome/browser/importer/importer_host.h
@@ -14,7 +14,6 @@
#include "chrome/browser/bookmarks/base_bookmark_model_observer.h"
#include "chrome/browser/importer/importer_data_types.h"
#include "chrome/browser/importer/profile_writer.h"
-#include "chrome/browser/ui/browser_list_observer.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "ui/gfx/native_widget_types.h"
@@ -31,8 +30,7 @@ class ImporterProgressObserver;
// browsers dynamically, and controls the process of importing. When
// the import process is done, ImporterHost deletes itself.
class ImporterHost : public BaseBookmarkModelObserver,
- public content::NotificationObserver,
- public chrome::BrowserListObserver {
+ public content::NotificationObserver {
public:
ImporterHost();
@@ -57,8 +55,6 @@ class ImporterHost : public BaseBookmarkModelObserver,
parent_window_ = parent_window;
}
- void set_browser(Browser* browser) { browser_ = browser; }
-
// Starts the process of importing the settings and data depending on what the
// user selected.
// |source_profile| - importer profile to import.
@@ -126,9 +122,6 @@ class ImporterHost : public BaseBookmarkModelObserver,
// complete.
virtual void InvokeTaskIfDone();
- // Called when IsGoogleGAIACookieInstalled is done.
- void OnGoogleGAIACookieChecked(bool result);
-
// BaseBookmarkModelObserver:
virtual void Loaded(BookmarkModel* model, bool ids_reassigned) OVERRIDE;
virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE;
@@ -140,9 +133,6 @@ class ImporterHost : public BaseBookmarkModelObserver,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // chrome::BrowserListObserver
- virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
-
// The task is the process of importing settings from other browsers.
base::Closure task_;
@@ -156,9 +146,6 @@ class ImporterHost : public BaseBookmarkModelObserver,
// warning dialog).
gfx::NativeWindow parent_window_;
- // Used to add a new tab if we need the user to sign in.
- Browser* browser_;
-
// The observer that we need to notify about changes in the import process.
importer::ImporterProgressObserver* observer_;
« no previous file with comments | « chrome/browser/importer/importer_data_types.h ('k') | chrome/browser/importer/importer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698