mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This removes the client relationship between the sky::InspectorFrontend and sky::InspectorBackend mojo interfaces. Instead, the two are now unrelated (in the mojom) and just happen to be often used together. The inspector service provides the InspectorFrontend interface to connecting applications and optimistically tries to connect to the InspectorBackend interface of applications that connect, in case they want to receive messages. The front and back end interfaces are both broadcast APIs, so no attempt is made to keep track of which binding is which. If they did need to be correlated this could be easily accomplished by allocating a new object to keep a mojo::Binding<sky::InspectorFrontend> and the corresponding sky::InspectorBackendPtr. R=abarth@chromium.org, eseidel@chromium.org Review URL: https://codereview.chromium.org/835463003