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 "chrome/browser/password_manager/password_manager_util.h" | 5 #include "components/password_manager/core/browser/password_manager_util.h" |
6 | 6 |
7 namespace password_manager_util { | 7 namespace password_manager_util { |
8 | 8 |
9 bool AuthenticateUser(gfx::NativeWindow window) { | 9 bool AuthenticateUser(gfx::NativeWindow window) { |
10 // Per the header comment, since reauthentication is not supported on iOS, | 10 // Per the header comment, since reauthentication is not supported on iOS, |
11 // this always returns true | 11 // this always returns true |
12 return true; | 12 return true; |
13 } | 13 } |
14 | 14 |
15 void GetOsPasswordStatus(const base::Callback<void(OsPasswordStatus)>& reply) { | 15 void GetOsPasswordStatus(const base::Callback<void(OsPasswordStatus)>& reply) { |
16 // No such thing on iOS. | 16 // No such thing on iOS. |
17 reply.Run(PASSWORD_STATUS_UNSUPPORTED); | 17 reply.Run(PASSWORD_STATUS_UNSUPPORTED); |
18 } | 18 } |
19 | 19 |
20 } // namespace password_manager_util | 20 } // namespace password_manager_util |
OLD | NEW |