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

Unified Diff: dbus/test_service.h

Issue 7845029: Stop restricting the sender object path for incoming signals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 f4a8a84c5286ec6cfca96a7f33ca00b4345bb05d..3ea40db8b66decf4149fb729c596bfe135b17224 100644
--- a/dbus/test_service.h
+++ b/dbus/test_service.h
@@ -62,10 +62,17 @@ class TestService : public base::Thread {
// Sends "Test" signal with the given message from the exported object.
void SendTestSignal(const std::string& message);
+ // Sends "Test" signal with the given message from the root object ("/").
+ // This function emulates dbus-send's behavior.
+ void SendTestSignalFromRoot(const std::string& message);
+
private:
// Helper function for SendTestSignal().
void SendTestSignalInternal(const std::string& message);
+ // Helper function for SendTestSignalFromRoot.
+ void SendTestSignalFromRootInternal(const std::string& message);
+
// Helper function for ShutdownAndBlock().
void ShutdownAndBlockInternal();
« 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