Home | History | Annotate | Download | only in consumer

Lines Matching refs:weak_this

78   auto weak_this = weak_ptr_factory_.GetWeakPtr();
80 [weak_this](ipc::AsyncResult<protos::EnableTracingResponse> response) {
81 if (weak_this)
82 weak_this->OnEnableTracingResponse(std::move(response));
223 auto weak_this = weak_ptr_factory_.GetWeakPtr();
226 [weak_this](ipc::AsyncResult<protos::DetachResponse> response) {
227 if (weak_this)
228 weak_this->consumer_->OnDetach(!!response);
243 auto weak_this = weak_ptr_factory_.GetWeakPtr();
245 async_response.Bind([weak_this](
247 if (!weak_this)
251 weak_this->consumer_->OnAttach(/*success=*/false, trace_config);
262 [weak_this](ipc::AsyncResult<protos::EnableTracingResponse> resp) {
263 if (weak_this)
264 weak_this->OnEnableTracingResponse(std::move(resp));
266 weak_this->consumer_port_.EnableTracing(enable_req,
269 weak_this->consumer_->OnAttach(/*success=*/true, trace_config);