| 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/extended_authenticator_impl.h" | 5 #include "chromeos/login/auth/extended_authenticator_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 } | 348 } |
| 349 | 349 |
| 350 if (return_code == cryptohome::MOUNT_ERROR_USER_DOES_NOT_EXIST) | 350 if (return_code == cryptohome::MOUNT_ERROR_USER_DOES_NOT_EXIST) |
| 351 state = NO_MOUNT; | 351 state = NO_MOUNT; |
| 352 | 352 |
| 353 if (consumer_) | 353 if (consumer_) |
| 354 consumer_->OnAuthenticationFailure(state); | 354 consumer_->OnAuthenticationFailure(state); |
| 355 | 355 |
| 356 if (old_consumer_) { | 356 if (old_consumer_) { |
| 357 AuthFailure failure(AuthFailure::UNLOCK_FAILED); | 357 AuthFailure failure(AuthFailure::UNLOCK_FAILED); |
| 358 failure.SetIsPinAttempt(user_context.IsUsingPin()); |
| 358 old_consumer_->OnAuthFailure(failure); | 359 old_consumer_->OnAuthFailure(failure); |
| 359 } | 360 } |
| 360 } | 361 } |
| 361 | 362 |
| 362 } // namespace chromeos | 363 } // namespace chromeos |
| OLD | NEW |