| 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> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
| 14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 15 #include "chromeos/dbus/session_manager_client.h" | 15 #include "chromeos/dbus/session_manager_client.h" |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 | 18 |
| 19 // A fake implementation of session_manager. Accepts policy blobs to be set and | 19 // A fake implementation of session_manager. Accepts policy blobs to be set and |
| 20 // returns them unmodified. | 20 // returns them unmodified. |
| 21 class FakeSessionManagerClient : public SessionManagerClient { | 21 class FakeSessionManagerClient : public SessionManagerClient { |
| 22 public: | 22 public: |
| 23 FakeSessionManagerClient(); | 23 FakeSessionManagerClient(); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 int start_device_wipe_call_count_; | 114 int start_device_wipe_call_count_; |
| 115 int notify_lock_screen_shown_call_count_; | 115 int notify_lock_screen_shown_call_count_; |
| 116 int notify_lock_screen_dismissed_call_count_; | 116 int notify_lock_screen_dismissed_call_count_; |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 118 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace chromeos | 121 } // namespace chromeos |
| 122 | 122 |
| 123 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 123 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |