| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // Returns how many times LockScreenDismissed() was called. | 86 // Returns how many times LockScreenDismissed() was called. |
| 87 int notify_lock_screen_dismissed_call_count() { | 87 int notify_lock_screen_dismissed_call_count() { |
| 88 return notify_lock_screen_dismissed_call_count_; | 88 return notify_lock_screen_dismissed_call_count_; |
| 89 } | 89 } |
| 90 | 90 |
| 91 private: | 91 private: |
| 92 std::string device_policy_; | 92 std::string device_policy_; |
| 93 std::map<std::string, std::string> user_policies_; | 93 std::map<std::string, std::string> user_policies_; |
| 94 std::map<std::string, std::string> device_local_account_policy_; | 94 std::map<std::string, std::string> device_local_account_policy_; |
| 95 ObserverList<Observer> observers_; | 95 ObserverList<Observer> observers_; |
| 96 SessionManagerClient::ActiveSessionsMap user_sessions_; |
| 96 | 97 |
| 97 int emit_login_prompt_ready_call_count_; | 98 int emit_login_prompt_ready_call_count_; |
| 98 int notify_lock_screen_shown_call_count_; | 99 int notify_lock_screen_shown_call_count_; |
| 99 int notify_lock_screen_dismissed_call_count_; | 100 int notify_lock_screen_dismissed_call_count_; |
| 100 | 101 |
| 101 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 102 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 } // namespace chromeos | 105 } // namespace chromeos |
| 105 | 106 |
| 106 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 107 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |