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

Unified Diff: dbus/object_proxy.h

Issue 2299853002: dbus: Rewrite ObjectProxy::CallMethodWithErrorCallback's comment (Closed)
Patch Set: Created 4 years, 4 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 | no next file » | 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 5bc4e20a01b95286c27274e2bfb3acb5e32c259a..5de390461e6e655a8a0d5353af0b887921a0757a 100644
--- a/dbus/object_proxy.h
+++ b/dbus/object_proxy.h
@@ -137,10 +137,10 @@ class CHROME_DBUS_EXPORT ObjectProxy
// from the method (i.e. calling a method that does not return a value),
// EmptyResponseCallback() can be passed to the |callback| parameter.
//
- // If the method call is successful, a pointer to Response object will
- // be passed to the callback. If unsuccessful, the error callback will be
- // called and a pointer to ErrorResponse object will be passed to the error
- // callback if available, otherwise NULL will be passed.
+ // If the method call is successful, |callback| will be invoked with a
+ // Response object. If unsuccessful, |error_callback| will be invoked with an
+ // ErrorResponse object (if the remote object returned an error) or nullptr
+ // (if a response was not received at all).
//
// Must be called in the origin thread.
virtual void CallMethodWithErrorCallback(MethodCall* method_call,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698