OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 DBUS_OBJECT_PROXY_H_ | 5 #ifndef DBUS_OBJECT_PROXY_H_ |
6 #define DBUS_OBJECT_PROXY_H_ | 6 #define DBUS_OBJECT_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <dbus/dbus.h> |
| 10 |
9 #include <map> | 11 #include <map> |
10 #include <string> | 12 #include <string> |
11 #include <vector> | 13 #include <vector> |
12 #include <dbus/dbus.h> | |
13 | 14 |
14 #include "base/callback.h" | 15 #include "base/callback.h" |
15 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
16 #include "base/time.h" | 17 #include "base/time.h" |
17 | 18 |
18 class MessageLoop; | |
19 | |
20 namespace dbus { | 19 namespace dbus { |
21 | 20 |
22 class Bus; | 21 class Bus; |
23 class MethodCall; | 22 class MethodCall; |
24 class Response; | 23 class Response; |
25 class Signal; | 24 class Signal; |
26 | 25 |
27 // ObjectProxy is used to communicate with remote objects, mainly for | 26 // ObjectProxy is used to communicate with remote objects, mainly for |
28 // calling methods of these objects. | 27 // calling methods of these objects. |
29 // | 28 // |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 MethodTable method_table_; | 187 MethodTable method_table_; |
189 | 188 |
190 std::vector<std::string> match_rules_; | 189 std::vector<std::string> match_rules_; |
191 | 190 |
192 DISALLOW_COPY_AND_ASSIGN(ObjectProxy); | 191 DISALLOW_COPY_AND_ASSIGN(ObjectProxy); |
193 }; | 192 }; |
194 | 193 |
195 } // namespace dbus | 194 } // namespace dbus |
196 | 195 |
197 #endif // DBUS_OBJECT_PROXY_H_ | 196 #endif // DBUS_OBJECT_PROXY_H_ |
OLD | NEW |