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

Unified Diff: chrome/browser/signin/easy_unlock_service.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/signin/easy_unlock_service.h
diff --git a/chrome/browser/signin/easy_unlock_service.h b/chrome/browser/signin/easy_unlock_service.h
index 969297e7859be0a52f4b328145a684306a31e2bf..db96b87c410f1187c31d1c056865d7e583043095 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -17,6 +17,7 @@
#include "chrome/browser/signin/easy_unlock_metrics.h"
#include "chrome/browser/signin/easy_unlock_screenlock_state_handler.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "components/proximity_auth/screenlock_state.h"
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h"
@@ -173,11 +174,11 @@ class EasyUnlockService : public KeyedService {
// Updates the user pod on the signin/lock screen for the user associated with
// the service to reflect the provided screenlock state.
- bool UpdateScreenlockState(EasyUnlockScreenlockStateHandler::State state);
+ bool UpdateScreenlockState(proximity_auth::ScreenlockState state);
// Returns the screenlock state if it is available. Otherwise STATE_INACTIVE
// is returned.
- EasyUnlockScreenlockStateHandler::State GetScreenlockState();
+ proximity_auth::ScreenlockState GetScreenlockState();
// Starts an auth attempt for the user associated with the service. The
// attempt type (unlock vs. signin) will depend on the service type.
« no previous file with comments | « chrome/browser/signin/easy_unlock_screenlock_state_handler_unittest.cc ('k') | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698