| 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 "chromeos/login/auth/stub_authenticator.h" | 5 #include "chromeos/login/auth/stub_authenticator.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 // As defined in /chromeos/dbus/cryptohome_client.cc. | 16 // As defined in /chromeos/dbus/cryptohome_client.cc. |
| 17 static const char kUserIdHashSuffix[] = "-hash"; | 17 static const char kUserIdHashSuffix[] = "-hash"; |
| 18 | 18 |
| 19 } // anonymous namespace | 19 } // anonymous namespace |
| 20 | 20 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 void StubAuthenticator::SetExpectedCredentials( | 106 void StubAuthenticator::SetExpectedCredentials( |
| 107 const UserContext& user_context) { | 107 const UserContext& user_context) { |
| 108 expected_user_context_ = user_context; | 108 expected_user_context_ = user_context; |
| 109 } | 109 } |
| 110 | 110 |
| 111 StubAuthenticator::~StubAuthenticator() { | 111 StubAuthenticator::~StubAuthenticator() { |
| 112 } | 112 } |
| 113 | 113 |
| 114 } // namespace chromeos | 114 } // namespace chromeos |
| OLD | NEW |