Lines Matching refs:Response
9 // sent back to the caller of D-Bus method via the response message.
54 // a success or error response message had been sent).
61 // (that is, they do not send an error response).
118 auto response = method_response.CreateCustomResponse();
119 dbus::MessageWriter writer(response.get());
121 method_response.SendRawResponse(std::move(response));
140 // synchronous method handlers that may fail and return an error response
167 auto response = method_response.CreateCustomResponse();
168 dbus::MessageWriter writer(response.get());
170 method_response.SendRawResponse(std::move(response));
219 auto response = method_response.CreateCustomResponse();
220 dbus::MessageWriter writer(response.get());
222 method_response.SendRawResponse(std::move(response));
244 // the method call response (including a possible error response) using
248 template<typename Response, typename... Args>
254 const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler)
263 std::unique_ptr<Response> response(new Response(method_call, sender));
264 handler_.Run(std::move(response), args...);
279 base::Callback<void(std::unique_ptr<Response>, Args...)> handler_;
288 // type |Args...| and send the method call response (including a possible error
289 // response) using the provided DBusMethodResponse object.
293 template<typename Response, typename... Args>
300 const base::Callback<void(std::unique_ptr<Response>, dbus::Message*,
310 std::unique_ptr<Response> response(new Response(method_call, sender));
311 handler_.Run(std::move(response), method_call, args...);
326 base::Callback<void(std::unique_ptr<Response>,
338 // message buffer and construct the D-Bus Response object.