Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: ash/public/interfaces/lock_screen.mojom

Issue 2876673002: mojo api for view based lockscreen (Closed)
Patch Set: comments and rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/shell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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();
xiyuan 2017/05/11 21:17:33 Do we need the error message to be displayed?
xiaoyinh(OOO Sep 11-29) 2017/05/13 00:29:49 chrome will request to show error message when the
xiyuan 2017/05/15 20:39:41 Sorry, I should be more clear. I meant how would L
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.
xiyuan 2017/05/11 21:17:33 nit: Document what happens when auth succeeds or f
xiaoyinh(OOO Sep 11-29) 2017/05/13 00:29:49 Done.
22 AuthenticateUser(signin.mojom.AccountId account_id,
23 string password,
xiyuan 2017/05/11 21:17:33 Transfer plain password over mojo makes me nervous
xiaoyinh(OOO Sep 11-29) 2017/05/13 00:29:49 Thanks. The new patch hash the password in LockScr
24 bool authenticated_by_pin);
25 };
OLDNEW
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698