OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module ash.mojom; |
| 6 |
| 7 import "components/signin/public/interfaces/account_id.mojom"; |
| 8 |
| 9 // Allows clients (e.g. Chrome browser) to control the ash lock screen. |
| 10 interface LockScreen { |
| 11 // Sets the client interface. |
| 12 SetClient(LockScreenClient client); |
| 13 |
| 14 // Shows error message in the ash lock screen. |
| 15 ShowErrorMessage(); |
| 16 }; |
| 17 |
| 18 // Allows ash lock screen to control a client (e.g. Chrome browser). Requests |
| 19 // often involve preferences or talk to cryptohome that is not available to ash. |
| 20 interface LockScreenClient { |
| 21 // Request user authentication in chrome. |
| 22 AuthenticateUser(signin.mojom.AccountId account_id, string password, bool auth
enticated_by_pin); |
| 23 }; |
OLD | NEW |