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

Unified Diff: chromeos/dbus/dbus_method_call_status.h

Issue 2744453003: Mount image upon component installed (Closed)
Patch Set: incremental change Created 3 years, 9 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 7c189e2055c64af2857722d6f11832a3630e707e..c4661e025335c214913e232b2878184d40f883d6 100644
--- a/chromeos/dbus/dbus_method_call_status.h
+++ b/chromeos/dbus/dbus_method_call_status.h
@@ -32,6 +32,12 @@ typedef base::Callback<void(
typedef base::Callback<void(DBusMethodCallStatus call_status,
bool result)> BoolDBusMethodCallback;
+// A callback to handle responses of methods returning a bool value; optionally
+// attach a piggyback message.
+typedef base::Callback<
+ void(DBusMethodCallStatus call_status, bool result, const std::string& msg)>
+ BoolDBusMethodCallbackPm;
hashimoto 2017/03/10 04:27:22 Our style guide prohibits cryptic abbreviation lik
xiaochu 2017/03/10 16:49:00 removed.
+
// A callback to handle responses of methods returning a string value.
typedef base::Callback<void(
DBusMethodCallStatus call_status,

Powered by Google App Engine
This is Rietveld 408576698