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_BLOCKING_METHOD_CALLER_H_ | 5 #ifndef CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ |
6 #define CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ | 6 #define CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ |
7 | 7 |
8 #include "base/callback.h" | |
9 #include "base/macros.h" | 8 #include "base/macros.h" |
10 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
11 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
12 #include "dbus/message.h" | 11 #include "dbus/message.h" |
13 | 12 |
14 namespace dbus { | 13 namespace dbus { |
15 | 14 |
16 class Bus; | 15 class Bus; |
17 class ObjectProxy; | 16 class ObjectProxy; |
18 | 17 |
(...skipping 17 matching lines...) Expand all Loading... |
36 dbus::Bus* bus_; | 35 dbus::Bus* bus_; |
37 dbus::ObjectProxy* proxy_; | 36 dbus::ObjectProxy* proxy_; |
38 base::WaitableEvent on_blocking_method_call_; | 37 base::WaitableEvent on_blocking_method_call_; |
39 | 38 |
40 DISALLOW_COPY_AND_ASSIGN(BlockingMethodCaller); | 39 DISALLOW_COPY_AND_ASSIGN(BlockingMethodCaller); |
41 }; | 40 }; |
42 | 41 |
43 } // namespace chromeos | 42 } // namespace chromeos |
44 | 43 |
45 #endif // CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ | 44 #endif // CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ |
OLD | NEW |