| Index: content/common/presentation/presentation_service.mojom
|
| diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
|
| index e672ad14ad6b5e821b27d9aec5e18b066538ced8..1059c45f7ee63f2f00c1f80dc1bbb04977b78658 100644
|
| --- a/content/common/presentation/presentation_service.mojom
|
| +++ b/content/common/presentation/presentation_service.mojom
|
| @@ -4,10 +4,7 @@
|
|
|
| module presentation;
|
|
|
| -import "presentation_session.mojom";
|
| -
|
| struct PresentationSessionInfo {
|
| - PresentationSession session;
|
| string url;
|
| string id;
|
| };
|
| @@ -20,7 +17,7 @@ enum PresentationErrorType {
|
| };
|
|
|
| struct PresentationError {
|
| - PresentationErrorType errorType;
|
| + PresentationErrorType error_type;
|
| string message;
|
| };
|
|
|
| @@ -39,7 +36,8 @@ interface PresentationService {
|
| // stop discovery once there are no active calls to GetScreenAvailability.
|
| // |presentation_url| can be specified to help the implementation to filter
|
| // out incompatible screens.
|
| - GetScreenAvailability(string? presentation_url) => (bool available);
|
| + GetScreenAvailability(string? presentation_url) =>
|
| + (string? presentation_url, bool available);
|
|
|
| // Called when the frame no longer listens to the
|
| // |availablechange| event.
|
| @@ -71,4 +69,4 @@ interface PresentationService {
|
| // silently and without user action.
|
| JoinSession(string presentation_url, string? presentation_id)
|
| => (PresentationSessionInfo? sessionInfo, PresentationError? error);
|
| -};
|
| +};
|
|
|