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

Side by Side Diff: ash/login/lock_screen_controller.cc

Issue 2876673002: mojo api for view based lockscreen (Closed)
Patch Set: 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
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 #include "ash/login/lock_screen_controller.h"
6
7 namespace ash {
8
9 LockScreenController::LockScreenController() {}
10
11 LockScreenController::~LockScreenController() {}
12
13 void LockScreenController::BindRequest(mojom::LockScreenRequest request) {
14 bindings_.AddBinding(this, std::move(request));
15 }
16
17 void LockScreenController::AuthenticateUser(const AccountId& account_id,
18 const std::string& password,
19 bool authenticated_by_pin) {
20 if (lock_screen_client_) {
21 lock_screen_client_->AuthenticateUser(account_id, password,
22 authenticated_by_pin);
23 }
24 }
25
26 void LockScreenController::SetClient(mojom::LockScreenClientPtr client) {
27 lock_screen_client_ = std::move(client);
28 }
29
30 void LockScreenController::ShowSignInError() {
31 NOTIMPLEMENTED();
32 }
33
34 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698