| 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 #include <vector> | 10 #include <vector> |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 // Returns how many times LockScreenDismissed() was called. | 96 // Returns how many times LockScreenDismissed() was called. |
| 97 int notify_lock_screen_dismissed_call_count() const { | 97 int notify_lock_screen_dismissed_call_count() const { |
| 98 return notify_lock_screen_dismissed_call_count_; | 98 return notify_lock_screen_dismissed_call_count_; |
| 99 } | 99 } |
| 100 | 100 |
| 101 private: | 101 private: |
| 102 std::string device_policy_; | 102 std::string device_policy_; |
| 103 std::map<std::string, std::string> user_policies_; | 103 std::map<std::string, std::string> user_policies_; |
| 104 std::map<std::string, std::string> device_local_account_policy_; | 104 std::map<std::string, std::string> device_local_account_policy_; |
| 105 ObserverList<Observer> observers_; | 105 base::ObserverList<Observer> observers_; |
| 106 SessionManagerClient::ActiveSessionsMap user_sessions_; | 106 SessionManagerClient::ActiveSessionsMap user_sessions_; |
| 107 std::vector<std::string> server_backed_state_keys_; | 107 std::vector<std::string> server_backed_state_keys_; |
| 108 | 108 |
| 109 int start_device_wipe_call_count_; | 109 int start_device_wipe_call_count_; |
| 110 int notify_lock_screen_shown_call_count_; | 110 int notify_lock_screen_shown_call_count_; |
| 111 int notify_lock_screen_dismissed_call_count_; | 111 int notify_lock_screen_dismissed_call_count_; |
| 112 | 112 |
| 113 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 113 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 } // namespace chromeos | 116 } // namespace chromeos |
| 117 | 117 |
| 118 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 118 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |