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

Unified Diff: chromeos/dbus/dbus_method_call_status.h

Issue 10949030: This converts the Shill clients to allow propagation of shill errors (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review changes Created 8 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
Index: chromeos/dbus/dbus_method_call_status.h
diff --git a/chromeos/dbus/dbus_method_call_status.h b/chromeos/dbus/dbus_method_call_status.h
index a45611ebc8af220649f276e3408fb0d92f4373a2..593fe7d158b73c9522ce82b4e8e31d7983db21ad 100644
--- a/chromeos/dbus/dbus_method_call_status.h
+++ b/chromeos/dbus/dbus_method_call_status.h
@@ -39,6 +39,11 @@ typedef base::Callback<void(
DBusMethodCallStatus call_status,
const dbus::ObjectPath& result)> ObjectPathDBusMethodCallback;
+// A callback to handle responses of methods returning a ObjectPath value that
+// doens't get call status.
+typedef base::Callback<void(
+ const dbus::ObjectPath& result)> ObjectPathCallbackWithoutStatus;
hashimoto 2012/09/24 02:28:56 Just 'ObjectPathCallback'? ShillClientHelper::Dict
Greg Spencer (Chromium) 2012/09/24 21:50:54 OK, or should I rename ObjectPathDBusMethodCallbac
hashimoto 2012/09/25 08:08:19 I think we should keep the old one's name unchange
Greg Spencer (Chromium) 2012/09/25 18:40:08 OK, I kept the original one and renamed the new on
+
} // namespace chromeos
#endif // CHROMEOS_DBUS_DBUS_METHOD_CALL_STATUS_H_

Powered by Google App Engine
This is Rietveld 408576698