Index: chrome/browser/ui/webui/sync_setup_handler.h |
diff --git a/chrome/browser/ui/webui/sync_setup_handler.h b/chrome/browser/ui/webui/sync_setup_handler.h |
index 155c21c6938c495a29e031d6e5c28155c18af90f..57d4ca3fd6b194a9b30eeb7ccb276d1a96ecdfed 100644 |
--- a/chrome/browser/ui/webui/sync_setup_handler.h |
+++ b/chrome/browser/ui/webui/sync_setup_handler.h |
@@ -7,6 +7,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/timer.h" |
#include "chrome/browser/signin/signin_tracker.h" |
#include "chrome/browser/ui/webui/options2/options_ui2.h" |
#include "chrome/browser/ui/webui/signin/login_ui_service.h" |
@@ -139,6 +140,9 @@ class SyncSetupHandler : public options2::OptionsPageUIHandler, |
// is running in the background. |
void DisplaySpinner(); |
+ // Displays an error dialog which shows timeout of authorization. |
+ void DisplayTimeOut(); |
+ |
// Returns true if we're the active login object. |
bool IsActiveLogin() const; |
@@ -186,6 +190,8 @@ class SyncSetupHandler : public options2::OptionsPageUIHandler, |
// The error from the last signin attempt. |
GoogleServiceAuthError last_signin_error_; |
+ scoped_ptr<base::OneShotTimer<SyncSetupHandler> > login_timer_; |
kochi
2012/06/13 09:08:29
Please add comment for this variable. Probably |b
peria
2012/06/14 01:55:12
Done.
|
+ |
DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); |
}; |