summaryrefslogtreecommitdiff
path: root/chromium/dbus/test_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/dbus/test_service.h')
-rw-r--r--chromium/dbus/test_service.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chromium/dbus/test_service.h b/chromium/dbus/test_service.h
index 523864cafd0..cc7d5211f91 100644
--- a/chromium/dbus/test_service.h
+++ b/chromium/dbus/test_service.h
@@ -106,7 +106,7 @@ class TestService : public base::Thread {
bool success);
// base::Thread override.
- virtual void Run(base::MessageLoop* message_loop) OVERRIDE;
+ virtual void Run(base::MessageLoop* message_loop) override;
//
// Exported methods.
@@ -173,6 +173,10 @@ class TestService : public base::Thread {
// Helper function for ReleaseOwnership().
void ReleaseOwnershipInternal(base::Closure callback);
+ // Configures the test service to send a PropertiesChanged signal for the
+ // "Name" property immediately after a call to GetManagedObjects.
+ void SetSendImmediatePropertiesChanged();
+
// Sends the response on completion of the performed action.
void PerformActionResponse(
MethodCall* method_call,
@@ -197,6 +201,10 @@ class TestService : public base::Thread {
// The number of methods actually exported.
int num_exported_methods_;
+ // True if a PropertiesChanged signal for the "Name" property should be sent
+ // immediately following a call to GetManagedObjects.
+ bool send_immediate_properties_changed_;
+
// True iff this instance has successfully acquired the name ownership.
bool has_ownership_;