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

Side by Side Diff: components/proximity_auth/fake_lock_handler.cc

Issue 2937553002: Create Mojo Struct for user information used in login/lock screen. (Closed)
Patch Set: rebase Created 3 years, 6 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/proximity_auth/fake_lock_handler.h" 5 #include "components/proximity_auth/fake_lock_handler.h"
6 6
7 namespace proximity_auth { 7 namespace proximity_auth {
8 8
9 FakeLockHandler::FakeLockHandler() {} 9 FakeLockHandler::FakeLockHandler() {}
10 10
11 FakeLockHandler::~FakeLockHandler() {} 11 FakeLockHandler::~FakeLockHandler() {}
12 12
13 void FakeLockHandler::ShowBannerMessage(const base::string16& message) {} 13 void FakeLockHandler::ShowBannerMessage(const base::string16& message) {}
14 14
15 void FakeLockHandler::ShowUserPodCustomIcon( 15 void FakeLockHandler::ShowUserPodCustomIcon(
16 const AccountId& account_id, 16 const AccountId& account_id,
17 const ScreenlockBridge::UserPodCustomIconOptions& icon) {} 17 const ScreenlockBridge::UserPodCustomIconOptions& icon) {}
18 18
19 void FakeLockHandler::HideUserPodCustomIcon(const AccountId& account_id) {} 19 void FakeLockHandler::HideUserPodCustomIcon(const AccountId& account_id) {}
20 20
21 void FakeLockHandler::EnableInput() {} 21 void FakeLockHandler::EnableInput() {}
22 22
23 void FakeLockHandler::SetAuthType(const AccountId& account_id, 23 void FakeLockHandler::SetAuthType(const AccountId& account_id,
24 FakeLockHandler::AuthType auth_type, 24 mojom::AuthType auth_type,
25 const base::string16& auth_value) {} 25 const base::string16& auth_value) {}
26 26
27 FakeLockHandler::AuthType FakeLockHandler::GetAuthType( 27 mojom::AuthType FakeLockHandler::GetAuthType(
28 const AccountId& account_id) const { 28 const AccountId& account_id) const {
29 return USER_CLICK; 29 return mojom::AuthType::USER_CLICK;
30 } 30 }
31 31
32 FakeLockHandler::ScreenType FakeLockHandler::GetScreenType() const { 32 FakeLockHandler::ScreenType FakeLockHandler::GetScreenType() const {
33 return FakeLockHandler::LOCK_SCREEN; 33 return FakeLockHandler::LOCK_SCREEN;
34 } 34 }
35 35
36 void FakeLockHandler::Unlock(const AccountId& account_id) {} 36 void FakeLockHandler::Unlock(const AccountId& account_id) {}
37 37
38 void FakeLockHandler::AttemptEasySignin(const AccountId& account_id, 38 void FakeLockHandler::AttemptEasySignin(const AccountId& account_id,
39 const std::string& secret, 39 const std::string& secret,
40 const std::string& key_label) {} 40 const std::string& key_label) {}
41 41
42 } // namespace proximity_auth 42 } // namespace proximity_auth
OLDNEW
« no previous file with comments | « components/proximity_auth/fake_lock_handler.h ('k') | components/proximity_auth/proximity_auth_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698