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

Unified Diff: dbus/bus.h

Issue 8682032: Revert 111479 - chrome: dbus: support asynchronous method replies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
Index: dbus/bus.h
===================================================================
--- dbus/bus.h (revision 111486)
+++ dbus/bus.h (working copy)
@@ -100,15 +100,11 @@
//
// Exporting a method:
//
-// void Echo(dbus::MethodCall* method_call,
-// dbus::ExportedObject::ResponseSender response_sender) {
+// Response* Echo(dbus::MethodCall* method_call) {
// // Do something with method_call.
// Response* response = Response::FromMethodCall(method_call);
// // Build response here.
-// // Can send an immediate response here to implement a synchronous service
-// // or store the response_sender and send a response later to implement an
-// // asynchronous service.
-// response_sender.Run(response);
+// return response;
// }
//
// void OnExported(const std::string& interface_name,
« no previous file with comments | « chrome/browser/chromeos/dbus/proxy_resolution_service_provider.cc ('k') | dbus/end_to_end_async_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698