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