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 #include "chrome/browser/chromeos/login/auth/authenticator.h" | 5 #include "chromeos/login/auth/authenticator.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 | 8 |
9 class AuthStatusConsumer; | 9 class AuthStatusConsumer; |
10 | 10 |
11 Authenticator::Authenticator(AuthStatusConsumer* consumer) | 11 Authenticator::Authenticator(AuthStatusConsumer* consumer) |
12 : consumer_(consumer), authentication_profile_(NULL) { | 12 : consumer_(consumer), authentication_profile_(NULL) { |
13 } | 13 } |
14 | 14 |
15 Authenticator::~Authenticator() {} | 15 Authenticator::~Authenticator() { |
| 16 } |
16 | 17 |
17 void Authenticator::SetConsumer(AuthStatusConsumer* consumer) { | 18 void Authenticator::SetConsumer(AuthStatusConsumer* consumer) { |
18 consumer_ = consumer; | 19 consumer_ = consumer; |
19 } | 20 } |
20 | 21 |
21 } // namespace chromeos | 22 } // namespace chromeos |
OLD | NEW |