Index: chrome/browser/ui/webui/options/sync_setup_handler.h |
diff --git a/chrome/browser/ui/webui/options/sync_setup_handler.h b/chrome/browser/ui/webui/options/sync_setup_handler.h |
index b1bb5b645c5cfb17f03fb1b1d8d23063252985bd..4ed025a7c9a5057d6929675687e30bdd7bc61acd 100644 |
--- a/chrome/browser/ui/webui/options/sync_setup_handler.h |
+++ b/chrome/browser/ui/webui/options/sync_setup_handler.h |
@@ -13,7 +13,6 @@ |
#include "chrome/browser/ui/webui/signin/login_ui_service.h" |
class LoginUIService; |
-class ProfileManager; |
class ProfileSyncService; |
class SigninManagerBase; |
@@ -25,8 +24,7 @@ class SyncSetupHandler : public options::OptionsPageUIHandler, |
public SyncStartupTracker::Observer, |
public LoginUIService::LoginUI { |
public: |
- // Constructs a new SyncSetupHandler. |profile_manager| may be NULL. |
- explicit SyncSetupHandler(ProfileManager* profile_manager); |
+ SyncSetupHandler(); |
~SyncSetupHandler() override; |
// OptionsPageUIHandler implementation. |
@@ -152,9 +150,6 @@ class SyncSetupHandler : public options::OptionsPageUIHandler, |
// histograms in the case that the user cancels out. |
bool configuring_sync_; |
- // Weak reference to the profile manager. |
- ProfileManager* const profile_manager_; |
- |
// The OneShotTimer object used to timeout of starting the sync backend |
// service. |
scoped_ptr<base::OneShotTimer<SyncSetupHandler> > backend_start_timer_; |