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 DBUS_BUS_H_ | 5 #ifndef DBUS_BUS_H_ |
6 #define DBUS_BUS_H_ | 6 #define DBUS_BUS_H_ |
7 | 7 |
8 #include <dbus/dbus.h> | 8 #include <dbus/dbus.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/threading/platform_thread.h" | 21 #include "base/threading/platform_thread.h" |
22 #include "dbus/dbus_export.h" | 22 #include "dbus/dbus_export.h" |
23 #include "dbus/object_path.h" | 23 #include "dbus/object_path.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class SequencedTaskRunner; | 26 class SequencedTaskRunner; |
27 class SingleThreadTaskRunner; | 27 class SingleThreadTaskRunner; |
28 class TaskRunner; | 28 class TaskRunner; |
29 } | 29 } |
30 | 30 |
31 namespace tracked_objects { | |
32 class Location; | |
33 } | |
34 | |
35 namespace dbus { | 31 namespace dbus { |
36 | 32 |
37 class ExportedObject; | 33 class ExportedObject; |
38 class ObjectManager; | 34 class ObjectManager; |
39 class ObjectProxy; | 35 class ObjectProxy; |
40 | 36 |
41 // Bus is used to establish a connection with D-Bus, create object | 37 // Bus is used to establish a connection with D-Bus, create object |
42 // proxies, and export objects. | 38 // proxies, and export objects. |
43 // | 39 // |
44 // For asynchronous operations such as an asynchronous method call, the | 40 // For asynchronous operations such as an asynchronous method call, the |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 int num_pending_timeouts_; | 747 int num_pending_timeouts_; |
752 | 748 |
753 std::string address_; | 749 std::string address_; |
754 | 750 |
755 DISALLOW_COPY_AND_ASSIGN(Bus); | 751 DISALLOW_COPY_AND_ASSIGN(Bus); |
756 }; | 752 }; |
757 | 753 |
758 } // namespace dbus | 754 } // namespace dbus |
759 | 755 |
760 #endif // DBUS_BUS_H_ | 756 #endif // DBUS_BUS_H_ |
OLD | NEW |