Lines Matching refs:Callback
173 auto callback = [val_tuple](const ResultTypes&... params) {
177 callback, reader, error);
186 auto callback = [ref_tuple](const ResultTypes&... params) {
190 callback, reader, error);
243 using AsyncErrorCallback = base::Callback<void(Error* error)>;
246 // from D-Bus into brillo::Error* and invokes the |callback|.
247 void BRILLO_EXPORT TranslateErrorResponse(const AsyncErrorCallback& callback,
256 const base::Callback<void(OutArgs...)>& success_callback,
259 auto callback = [&success_callback](const OutArgs&... params) {
266 if (!DBusParamReader<false, OutArgs...>::Invoke(callback, &reader, &error) &&
275 // When the remote method returns successfully, the success callback is
277 // On error, the error callback is called. Note, the error callback can be
280 // If the response is not received within |timeout_ms|, an error callback is
288 const base::Callback<void(OutArgs...)>& success_callback,
309 const base::Callback<void(OutArgs...)>& success_callback,