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

Side by Side Diff: chrome/browser/ui/webui/options/sync_setup_handler.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 2 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.h ('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