OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SESSION_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_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/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
13 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
14 #include "chromeos/chromeos_export.h" | 15 #include "chromeos/chromeos_export.h" |
15 #include "chromeos/dbus/dbus_client.h" | 16 #include "chromeos/dbus/dbus_client.h" |
16 #include "chromeos/dbus/dbus_client_implementation_type.h" | 17 #include "chromeos/dbus/dbus_client_implementation_type.h" |
17 | 18 |
18 namespace chromeos { | 19 namespace chromeos { |
19 | 20 |
20 // SessionManagerClient is used to communicate with the session manager. | 21 // SessionManagerClient is used to communicate with the session manager. |
21 class CHROMEOS_EXPORT SessionManagerClient : public DBusClient { | 22 class CHROMEOS_EXPORT SessionManagerClient : public DBusClient { |
22 public: | 23 public: |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Create() should be used instead. | 219 // Create() should be used instead. |
219 SessionManagerClient(); | 220 SessionManagerClient(); |
220 | 221 |
221 private: | 222 private: |
222 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient); | 223 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient); |
223 }; | 224 }; |
224 | 225 |
225 } // namespace chromeos | 226 } // namespace chromeos |
226 | 227 |
227 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ | 228 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ |
OLD | NEW |