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

Unified Diff: dbus/object_proxy.h

Issue 24557002: dbus: Rewrite ObjectProxy::ConnectToSignal with PostTaskAndReplyWithResult (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « no previous file | dbus/object_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_proxy.h
diff --git a/dbus/object_proxy.h b/dbus/object_proxy.h
index 798ba9711f3031ceb8599fcc68dc185b77cc919c..79e15d14bbc4f38a988b55a930c88bfecde6511d 100644
--- a/dbus/object_proxy.h
+++ b/dbus/object_proxy.h
@@ -204,17 +204,9 @@ class CHROME_DBUS_EXPORT ObjectProxy
void* user_data);
// Helper function for ConnectToSignal().
- void ConnectToSignalInternal(
- const std::string& interface_name,
- const std::string& signal_name,
- SignalCallback signal_callback,
- OnConnectedCallback on_connected_callback);
-
- // Called when the object proxy is connected to the signal, or failed.
- void OnConnected(OnConnectedCallback on_connected_callback,
- const std::string& interface_name,
- const std::string& signal_name,
- bool success);
+ bool ConnectToSignalInternal(const std::string& interface_name,
+ const std::string& signal_name,
+ SignalCallback signal_callback);
// Handles the incoming request messages and dispatches to the signal
// callbacks.
« no previous file with comments | « no previous file | dbus/object_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698