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

Unified Diff: chrome/browser/ui/webui/options/sync_setup_handler.h

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/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_;
« no previous file with comments | « chrome/browser/ui/webui/options/options_ui.cc ('k') | chrome/browser/ui/webui/options/sync_setup_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698