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

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..6cbe7d96cb1a7e62d61081f61bb005148e15de2c 100644
--- a/chromeos/dbus/dbus_method_call_status.h
+++ b/chromeos/dbus/dbus_method_call_status.h
@@ -37,7 +37,12 @@ typedef base::Callback<void(
// A callback to handle responses of methods returning a ObjectPath value.
typedef base::Callback<void(
DBusMethodCallStatus call_status,
- const dbus::ObjectPath& result)> ObjectPathDBusMethodCallback;
+ const dbus::ObjectPath& result)> ObjectPathCallback;
+
+// 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;
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698