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_CHROMEOS_LOGIN_AUTHENTICATOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 12 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h" |
13 #include "google_apis/gaia/gaia_auth_consumer.h" | 13 #include "google_apis/gaia/gaia_auth_consumer.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 class UserContext; | 19 class UserContext; |
20 | 20 |
21 // An interface for objects that will authenticate a Chromium OS user. | 21 // An interface for objects that will authenticate a Chromium OS user. |
22 // Callbacks will be called on the UI thread: | 22 // Callbacks will be called on the UI thread: |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 Profile* authentication_profile_; | 100 Profile* authentication_profile_; |
101 | 101 |
102 private: | 102 private: |
103 friend class base::RefCountedThreadSafe<Authenticator>; | 103 friend class base::RefCountedThreadSafe<Authenticator>; |
104 | 104 |
105 DISALLOW_COPY_AND_ASSIGN(Authenticator); | 105 DISALLOW_COPY_AND_ASSIGN(Authenticator); |
106 }; | 106 }; |
107 | 107 |
108 } // namespace chromeos | 108 } // namespace chromeos |
109 | 109 |
110 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTHENTICATOR_H_ | 110 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTHENTICATOR_H_ |
OLD | NEW |