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

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

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
« no previous file with comments | « components/proximity_auth/BUILD.gn ('k') | components/proximity_auth/fake_lock_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_PROXIMITY_AUTH_FAKE_LOCK_HANDLER_H_ 5 #ifndef COMPONENTS_PROXIMITY_AUTH_FAKE_LOCK_HANDLER_H_
6 #define COMPONENTS_PROXIMITY_AUTH_FAKE_LOCK_HANDLER_H_ 6 #define COMPONENTS_PROXIMITY_AUTH_FAKE_LOCK_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/proximity_auth/screenlock_bridge.h" 9 #include "components/proximity_auth/screenlock_bridge.h"
10 10
11 namespace proximity_auth { 11 namespace proximity_auth {
12 12
13 class FakeLockHandler : public ScreenlockBridge::LockHandler { 13 class FakeLockHandler : public ScreenlockBridge::LockHandler {
14 public: 14 public:
15 FakeLockHandler(); 15 FakeLockHandler();
16 ~FakeLockHandler() override; 16 ~FakeLockHandler() override;
17 17
18 // LockHandler: 18 // LockHandler:
19 void ShowBannerMessage(const base::string16& message) override; 19 void ShowBannerMessage(const base::string16& message) override;
20 void ShowUserPodCustomIcon( 20 void ShowUserPodCustomIcon(
21 const AccountId& account_id, 21 const AccountId& account_id,
22 const ScreenlockBridge::UserPodCustomIconOptions& icon) override; 22 const ScreenlockBridge::UserPodCustomIconOptions& icon) override;
23 void HideUserPodCustomIcon(const AccountId& account_id) override; 23 void HideUserPodCustomIcon(const AccountId& account_id) override;
24 void EnableInput() override; 24 void EnableInput() override;
25 void SetAuthType(const AccountId& account_id, 25 void SetAuthType(const AccountId& account_id,
26 AuthType auth_type, 26 mojom::AuthType auth_type,
27 const base::string16& auth_value) override; 27 const base::string16& auth_value) override;
28 AuthType GetAuthType(const AccountId& account_id) const override; 28 mojom::AuthType GetAuthType(const AccountId& account_id) const override;
29 ScreenType GetScreenType() const override; 29 ScreenType GetScreenType() const override;
30 void Unlock(const AccountId& account_id) override; 30 void Unlock(const AccountId& account_id) override;
31 void AttemptEasySignin(const AccountId& account_id, 31 void AttemptEasySignin(const AccountId& account_id,
32 const std::string& secret, 32 const std::string& secret,
33 const std::string& key_label) override; 33 const std::string& key_label) override;
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(FakeLockHandler); 36 DISALLOW_COPY_AND_ASSIGN(FakeLockHandler);
37 }; 37 };
38 38
39 } // namespace proximity_auth 39 } // namespace proximity_auth
40 40
41 #endif // COMPONENTS_PROXIMITY_AUTH_FAKE_LOCK_HANDLER_H_ 41 #endif // COMPONENTS_PROXIMITY_AUTH_FAKE_LOCK_HANDLER_H_
OLDNEW
« no previous file with comments | « components/proximity_auth/BUILD.gn ('k') | components/proximity_auth/fake_lock_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698