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

Side by Side Diff: chrome/browser/signin/easy_unlock_service_observer.h

Issue 1113043004: [Smart Lock] Extract the screenlock state to the proximity_auth component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests compile Created 5 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 | « chrome/browser/signin/easy_unlock_service.cc ('k') | components/proximity_auth.gypi » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_
7 7
8 #include "chrome/browser/signin/easy_unlock_screenlock_state_handler.h" 8 #include "components/proximity_auth/screenlock_state.h"
9 9
10 class EasyUnlockServiceObserver { 10 class EasyUnlockServiceObserver {
11 public: 11 public:
12 // Invoked when turn-off operation status changes. 12 // Invoked when turn-off operation status changes.
13 virtual void OnTurnOffOperationStatusChanged() {} 13 virtual void OnTurnOffOperationStatusChanged() {}
14 14
15 // Invoked when screenlock state changes. 15 // Invoked when screenlock state changes.
16 virtual void OnScreenlockStateChanged( 16 virtual void OnScreenlockStateChanged(
17 EasyUnlockScreenlockStateHandler::State state) {} 17 proximity_auth::ScreenlockState state) {}
18 18
19 protected: 19 protected:
20 virtual ~EasyUnlockServiceObserver() {} 20 virtual ~EasyUnlockServiceObserver() {}
21 }; 21 };
22 22
23 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ 23 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.cc ('k') | components/proximity_auth.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698