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

Side by Side Diff: chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.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, 3 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 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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/kiosk_browsertest.cc ('k') | chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698