OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_SAML_SAML_OFFLINE_SIGNIN_LIMITER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SAML_SAML_OFFLINE_SIGNIN_LIMITER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SAML_SAML_OFFLINE_SIGNIN_LIMITER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SAML_SAML_OFFLINE_SIGNIN_LIMITER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/prefs/pref_change_registrar.h" | 10 #include "base/prefs/pref_change_registrar.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // to use online authentication against GAIA. | 59 // to use online authentication against GAIA. |
60 void ForceOnlineLogin(); | 60 void ForceOnlineLogin(); |
61 | 61 |
62 base::DefaultClock default_clock_; | 62 base::DefaultClock default_clock_; |
63 | 63 |
64 Profile* profile_; | 64 Profile* profile_; |
65 base::Clock* clock_; | 65 base::Clock* clock_; |
66 | 66 |
67 PrefChangeRegistrar pref_change_registrar_; | 67 PrefChangeRegistrar pref_change_registrar_; |
68 | 68 |
69 scoped_ptr<base::OneShotTimer<SAMLOfflineSigninLimiter> > | 69 scoped_ptr<base::OneShotTimer> offline_signin_limit_timer_; |
70 offline_signin_limit_timer_; | |
71 | 70 |
72 DISALLOW_COPY_AND_ASSIGN(SAMLOfflineSigninLimiter); | 71 DISALLOW_COPY_AND_ASSIGN(SAMLOfflineSigninLimiter); |
73 }; | 72 }; |
74 | 73 |
75 } // namespace chromeos | 74 } // namespace chromeos |
76 | 75 |
77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SAML_SAML_OFFLINE_SIGNIN_LIMITER_H_ | 76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SAML_SAML_OFFLINE_SIGNIN_LIMITER_H_ |
OLD | NEW |