| 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 COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ |
| 6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ | 6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 LockHandler* lock_handler() { return lock_handler_; } | 174 LockHandler* lock_handler() { return lock_handler_; } |
| 175 | 175 |
| 176 std::string focused_user_id() const { return focused_user_id_; } | 176 std::string focused_user_id() const { return focused_user_id_; } |
| 177 | 177 |
| 178 private: | 178 private: |
| 179 ProximityAuthClient* client_; // Not owned. Must outlive this object. | 179 ProximityAuthClient* client_; // Not owned. Must outlive this object. |
| 180 LockHandler* lock_handler_; // Not owned | 180 LockHandler* lock_handler_; // Not owned |
| 181 // The last focused user's id. | 181 // The last focused user's id. |
| 182 std::string focused_user_id_; | 182 std::string focused_user_id_; |
| 183 ObserverList<Observer, true> observers_; | 183 base::ObserverList<Observer, true> observers_; |
| 184 | 184 |
| 185 DISALLOW_COPY_AND_ASSIGN(ScreenlockBridge); | 185 DISALLOW_COPY_AND_ASSIGN(ScreenlockBridge); |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace proximity_auth | 188 } // namespace proximity_auth |
| 189 | 189 |
| 190 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ | 190 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_BRIDGE_H_ |
| OLD | NEW |