Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: dbus/test_service.h

Issue 510863002: dbus::ObjectManager: Add a match rule for properties before GetManagedObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased; updated BUILD.gn; fixed crash from latest RunLoop changes Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/object_proxy.cc ('k') | dbus/test_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/test_service.h
diff --git a/dbus/test_service.h b/dbus/test_service.h
index 523864cafd0ffb09b0fde66ebc1f1e4cbde79a49..8039fe8916ab559e986d694d5035ae7d83cd30e5 100644
--- a/dbus/test_service.h
+++ b/dbus/test_service.h
@@ -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_;
« no previous file with comments | « dbus/object_proxy.cc ('k') | dbus/test_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698