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

Side by Side Diff: components/proximity_auth/unlock_manager.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
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_UNLOCK_MANAGER_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H
6 #define COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H 6 #define COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H
7 7
8 #include "components/proximity_auth/screenlock_bridge.h" 8 #include "components/proximity_auth/screenlock_bridge.h"
9 9
10 namespace proximity_auth { 10 namespace proximity_auth {
(...skipping 13 matching lines...) Expand all
24 // dispatched. A null |life_cycle| indicates that proximity-based 24 // dispatched. A null |life_cycle| indicates that proximity-based
25 // authentication is inactive. 25 // authentication is inactive.
26 virtual void SetRemoteDeviceLifeCycle(RemoteDeviceLifeCycle* life_cycle) = 0; 26 virtual void SetRemoteDeviceLifeCycle(RemoteDeviceLifeCycle* life_cycle) = 0;
27 27
28 // Called when the life cycle's state changes. 28 // Called when the life cycle's state changes.
29 virtual void OnLifeCycleStateChanged() = 0; 29 virtual void OnLifeCycleStateChanged() = 0;
30 30
31 // Called when the user pod is clicked for an authentication attempt of type 31 // Called when the user pod is clicked for an authentication attempt of type
32 // |auth_type|. 32 // |auth_type|.
33 // Exposed for testing. 33 // Exposed for testing.
34 virtual void OnAuthAttempted( 34 virtual void OnAuthAttempted(mojom::AuthType auth_type) = 0;
35 ScreenlockBridge::LockHandler::AuthType auth_type) = 0;
36 }; 35 };
37 36
38 } // namespace proximity_auth 37 } // namespace proximity_auth
39 38
40 #endif // COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H 39 #endif // COMPONENTS_PROXIMITY_AUTH_UNLOCK_MANAGER_H
OLDNEW
« no previous file with comments | « components/proximity_auth/screenlock_bridge.h ('k') | components/proximity_auth/unlock_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698