Chromium Code Reviews| Index: dbus/bus.h |
| diff --git a/dbus/bus.h b/dbus/bus.h |
| index 6f31b37ab76331ecc744c54d89518702aacddde5..ddcafa286900f16e778e5324df3dc1129c91c64c 100644 |
| --- a/dbus/bus.h |
| +++ b/dbus/bus.h |
| @@ -441,6 +441,11 @@ class Bus : public base::RefCountedThreadSafe<Bus> { |
| // Returns true if the bus is connected to D-Bus. |
| bool is_connected() { return connection_ != NULL; } |
| + // Processes the all incoming data to the connection, if any. |
| + // |
| + // BLOCKING CALL. |
| + void ProcessAllIncomingDataIfAny(); |
|
satorux1
2012/10/25 08:56:23
No need to expose, right?
Haruki Sato
2012/10/26 05:03:24
Done.
Thanks.
|
| + |
| protected: |
| // This is protected, so we can define sub classes. |
| virtual ~Bus(); |
| @@ -464,11 +469,6 @@ class Bus : public base::RefCountedThreadSafe<Bus> { |
| const std::string& service_name, |
| bool success); |
| - // Processes the all incoming data to the connection, if any. |
| - // |
| - // BLOCKING CALL. |
| - void ProcessAllIncomingDataIfAny(); |
| - |
| // Called when a watch object is added. Used to start monitoring the |
| // file descriptor used for D-Bus communication. |
| dbus_bool_t OnAddWatch(DBusWatch* raw_watch); |