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 #pragma once | |
8 | 7 |
9 #include "base/callback.h" | 8 #include "base/callback.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 | 11 |
13 namespace dbus { | 12 namespace dbus { |
14 | 13 |
15 class Bus; | 14 class Bus; |
16 class ObjectProxy; | 15 class ObjectProxy; |
17 class MethodCall; | 16 class MethodCall; |
(...skipping 19 matching lines...) Expand all Loading... |
37 dbus::Bus* bus_; | 36 dbus::Bus* bus_; |
38 dbus::ObjectProxy* proxy_; | 37 dbus::ObjectProxy* proxy_; |
39 base::WaitableEvent on_blocking_method_call_; | 38 base::WaitableEvent on_blocking_method_call_; |
40 | 39 |
41 DISALLOW_COPY_AND_ASSIGN(BlockingMethodCaller); | 40 DISALLOW_COPY_AND_ASSIGN(BlockingMethodCaller); |
42 }; | 41 }; |
43 | 42 |
44 } // namespace chromeos | 43 } // namespace chromeos |
45 | 44 |
46 #endif // CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ | 45 #endif // CHROMEOS_DBUS_BLOCKING_METHOD_CALLER_H_ |
OLD | NEW |