OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/timer.h" | 10 #include "base/timer.h" |
11 #include "chrome/browser/signin/signin_tracker.h" | 11 #include "chrome/browser/signin/signin_tracker.h" |
12 #include "chrome/browser/ui/webui/options2/options_ui.h" | 12 #include "chrome/browser/ui/webui/options/options_ui.h" |
13 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 13 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
14 | 14 |
15 class LoginUIService; | 15 class LoginUIService; |
16 class ProfileManager; | 16 class ProfileManager; |
17 class ProfileSyncService; | 17 class ProfileSyncService; |
18 class SigninManager; | 18 class SigninManager; |
19 | 19 |
20 class SyncSetupHandler : public options::OptionsPageUIHandler, | 20 class SyncSetupHandler : public options::OptionsPageUIHandler, |
21 public SigninTracker::Observer, | 21 public SigninTracker::Observer, |
22 public LoginUIService::LoginUI { | 22 public LoginUIService::LoginUI { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 bool retry_on_signin_failure_; | 198 bool retry_on_signin_failure_; |
199 | 199 |
200 // The OneShotTimer object used to timeout of starting the sync backend | 200 // The OneShotTimer object used to timeout of starting the sync backend |
201 // service. | 201 // service. |
202 scoped_ptr<base::OneShotTimer<SyncSetupHandler> > backend_start_timer_; | 202 scoped_ptr<base::OneShotTimer<SyncSetupHandler> > backend_start_timer_; |
203 | 203 |
204 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); | 204 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); |
205 }; | 205 }; |
206 | 206 |
207 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ | 207 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_SETUP_HANDLER_H_ |
OLD | NEW |