5#ifndef FLUTTER_FML_PLATFORM_FUCHSIA_LOG_INTEREST_LISTENER_H_
6#define FLUTTER_FML_PLATFORM_FUCHSIA_LOG_INTEREST_LISTENER_H_
8#include <fidl/fuchsia.diagnostics/cpp/fidl.h>
9#include <fidl/fuchsia.logger/cpp/fidl.h>
10#include <lib/fidl/cpp/client.h>
21 async_dispatcher_t* dispatcher)
22 : log_sink_(
std::move(client_end), dispatcher) {}
29 const fuchsia_diagnostics::Interest& interest);
32 fidl::Client<::fuchsia_logger::LogSink> log_sink_;
static void HandleInterestChange(const fuchsia_diagnostics::Interest &interest)
void AsyncWaitForInterestChanged()
LogInterestListener(fidl::ClientEnd<::fuchsia_logger::LogSink > client_end, async_dispatcher_t *dispatcher)