| 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_OPTIONS_SYNC_SETUP_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_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/timer.h" | 10 #include "base/timer/timer.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // Helper object used to wait for the sync backend to startup. | 145 // Helper object used to wait for the sync backend to startup. |
| 146 scoped_ptr<SyncStartupTracker> sync_startup_tracker_; | 146 scoped_ptr<SyncStartupTracker> sync_startup_tracker_; |
| 147 | 147 |
| 148 // Set to true whenever the sync configure UI is visible. This is used to tell | 148 // Set to true whenever the sync configure UI is visible. This is used to tell |
| 149 // what stage of the setup wizard the user was in and to update the UMA | 149 // what stage of the setup wizard the user was in and to update the UMA |
| 150 // histograms in the case that the user cancels out. | 150 // histograms in the case that the user cancels out. |
| 151 bool configuring_sync_; | 151 bool configuring_sync_; |
| 152 | 152 |
| 153 // The OneShotTimer object used to timeout of starting the sync backend | 153 // The OneShotTimer object used to timeout of starting the sync backend |
| 154 // service. | 154 // service. |
| 155 scoped_ptr<base::OneShotTimer<SyncSetupHandler> > backend_start_timer_; | 155 scoped_ptr<base::OneShotTimer> backend_start_timer_; |
| 156 | 156 |
| 157 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); | 157 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ | 160 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ |
| OLD | NEW |