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/test_login_utils.h" | 5 #include "chrome/browser/chromeos/login/test_login_utils.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/chromeos/login/auth/mock_authenticator.h" | 8 #include "chromeos/login/auth/mock_authenticator.h" |
9 #include "chromeos/login/auth/user_context.h" | 9 #include "chromeos/login/auth/user_context.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 TestLoginUtils::TestLoginUtils(const UserContext& user_context) | 13 TestLoginUtils::TestLoginUtils(const UserContext& user_context) |
14 : expected_user_context_(user_context) { | 14 : expected_user_context_(user_context) { |
15 } | 15 } |
16 | 16 |
17 TestLoginUtils::~TestLoginUtils() {} | 17 TestLoginUtils::~TestLoginUtils() {} |
18 | 18 |
(...skipping 15 matching lines...) Expand all Loading... |
34 AuthStatusConsumer* consumer) { | 34 AuthStatusConsumer* consumer) { |
35 return new MockAuthenticator(consumer, expected_user_context_); | 35 return new MockAuthenticator(consumer, expected_user_context_); |
36 } | 36 } |
37 | 37 |
38 bool TestLoginUtils::RestartToApplyPerSessionFlagsIfNeed(Profile* profile, | 38 bool TestLoginUtils::RestartToApplyPerSessionFlagsIfNeed(Profile* profile, |
39 bool early_restart) { | 39 bool early_restart) { |
40 return false; | 40 return false; |
41 } | 41 } |
42 | 42 |
43 } // namespace chromeos | 43 } // namespace chromeos |
OLD | NEW |