| OLD | NEW |
| 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_SCREENLOCK_STATE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 11 #include "components/proximity_auth/screenlock_bridge.h" | 12 #include "components/proximity_auth/screenlock_bridge.h" |
| 12 #include "components/proximity_auth/screenlock_state.h" | 13 #include "components/proximity_auth/screenlock_state.h" |
| 13 #include "components/signin/core/account_id/account_id.h" | 14 #include "components/signin/core/account_id/account_id.h" |
| 14 | 15 |
| 15 class PrefService; | 16 class PrefService; |
| 16 | 17 |
| 17 // Profile specific class responsible for updating screenlock UI for the user | 18 // Profile specific class responsible for updating screenlock UI for the user |
| 18 // associated with the profile when their Easy Unlock state changes. | 19 // associated with the profile when their Easy Unlock state changes. |
| 19 class EasyUnlockScreenlockStateHandler | 20 class EasyUnlockScreenlockStateHandler |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // run should be set if the screen was locked by the Easy Unlock setup app. | 108 // run should be set if the screen was locked by the Easy Unlock setup app. |
| 108 bool is_trial_run_ = false; | 109 bool is_trial_run_ = false; |
| 109 | 110 |
| 110 // Whether the user's phone was ever locked while on the current lock screen. | 111 // Whether the user's phone was ever locked while on the current lock screen. |
| 111 bool did_see_locked_phone_ = false; | 112 bool did_see_locked_phone_ = false; |
| 112 | 113 |
| 113 DISALLOW_COPY_AND_ASSIGN(EasyUnlockScreenlockStateHandler); | 114 DISALLOW_COPY_AND_ASSIGN(EasyUnlockScreenlockStateHandler); |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ | 117 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SCREENLOCK_STATE_HANDLER_H_ |
| OLD | NEW |