Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / dbus / test_service.h
index 523864c..8039fe8 100644 (file)
@@ -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_;