[Media Router] Eliminate duplicate enums from media_router.mojom |
||||
Issue description
The following enums duplicate declarations in presentation.mojom.
enum PresentationConnectionState {
CONNECTING,
CONNECTED,
CLOSED,
TERMINATED
};
enum PresentationConnectionCloseReason {
CONNECTION_ERROR,
CLOSED,
WENT_AWAY
};
Since we are moving to use the Blink types as the canonical definitions for these, we should remove them once presentation.mojom is moved to the Blink public API. Until that happens, some temporary conversion code will be necessary.
,
Jul 24
When ready, we can start to push Blink types further into the Media Router code and eliminate duplicate MR types. It might make sense to do this after javascript MRPs are removed to minimize the amount of work.
,
Aug 2
,
Oct 2
Cleanups to the Media Router API make sense after native MRPs have fully shipped. |
||||
►
Sign in to add a comment |
||||
Comment 1 by mfo...@chromium.org
, Apr 10 2018