OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "chrome/browser/browser_thread.h" | |
8 #include "chrome/browser/chromeos/cros/cros_library.h" | 7 #include "chrome/browser/chromeos/cros/cros_library.h" |
9 #include "chrome/browser/chromeos/login/authenticator.h" | 8 #include "chrome/browser/chromeos/login/authenticator.h" |
10 #include "chrome/browser/chromeos/login/login_utils.h" | 9 #include "chrome/browser/chromeos/login/login_utils.h" |
11 #include "chrome/browser/chromeos/webui/login/authenticator_facade_cros_helpers.
h" | 10 #include "chrome/browser/chromeos/webui/login/authenticator_facade_cros_helpers.
h" |
| 11 #include "content/browser/browser_thread.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 AuthenticatorFacadeCrosHelpers::AuthenticatorFacadeCrosHelpers() { | 15 AuthenticatorFacadeCrosHelpers::AuthenticatorFacadeCrosHelpers() { |
16 } | 16 } |
17 | 17 |
18 Authenticator* AuthenticatorFacadeCrosHelpers::CreateAuthenticator( | 18 Authenticator* AuthenticatorFacadeCrosHelpers::CreateAuthenticator( |
19 LoginStatusConsumer* consumer) { | 19 LoginStatusConsumer* consumer) { |
20 | 20 |
21 return CrosLibrary::Get()->EnsureLoaded() ? | 21 return CrosLibrary::Get()->EnsureLoaded() ? |
(...skipping 12 matching lines...) Expand all Loading... |
34 NewRunnableMethod(authenticator, | 34 NewRunnableMethod(authenticator, |
35 &Authenticator::AuthenticateToLogin, | 35 &Authenticator::AuthenticateToLogin, |
36 profile, | 36 profile, |
37 username, | 37 username, |
38 password, | 38 password, |
39 std::string(), | 39 std::string(), |
40 std::string())); | 40 std::string())); |
41 } | 41 } |
42 | 42 |
43 } // namespace chromeos | 43 } // namespace chromeos |
OLD | NEW |