| Index: dbus/test_service.h
|
| diff --git a/dbus/test_service.h b/dbus/test_service.h
|
| index 871aed6a485d7b015251a225caa075ae73a875ff..17f27ca133aa01c3700425748889d0b5892594fc 100644
|
| --- a/dbus/test_service.h
|
| +++ b/dbus/test_service.h
|
| @@ -65,6 +65,9 @@ class TestService : public base::Thread {
|
| // This function emulates dbus-send's behavior.
|
| void SendTestSignalFromRoot(const std::string& message);
|
|
|
| + // Request the ownership of a well-known name "TestService".
|
| + void RequestOwnership();
|
| +
|
| private:
|
| // Helper function for SendTestSignal().
|
| void SendTestSignalInternal(const std::string& message);
|
| @@ -127,6 +130,9 @@ class TestService : public base::Thread {
|
| // Helper function for SendPropertyChangedSignal().
|
| void SendPropertyChangedSignalInternal(const std::string& name);
|
|
|
| + // Helper function for RequestOwnership().
|
| + void RequestOwnershipInternal();
|
| +
|
| scoped_refptr<base::MessageLoopProxy> dbus_thread_message_loop_proxy_;
|
| base::WaitableEvent on_all_methods_exported_;
|
| // The number of methods actually exported.
|
|
|