| 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..90e57efdfe577551eaa2c2f4ddc81e57ccc5ccff 100644
|
| --- a/content/common/presentation/presentation_service.mojom
|
| +++ b/content/common/presentation/presentation_service.mojom
|
| @@ -7,7 +7,6 @@ module presentation;
|
| import "presentation_session.mojom";
|
|
|
| struct PresentationSessionInfo {
|
| - PresentationSession session;
|
| string url;
|
| string id;
|
| };
|
| @@ -20,7 +19,7 @@ enum PresentationErrorType {
|
| };
|
|
|
| struct PresentationError {
|
| - PresentationErrorType errorType;
|
| + PresentationErrorType error_type;
|
| string message;
|
| };
|
|
|
| @@ -39,7 +38,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 +71,4 @@ interface PresentationService {
|
| // silently and without user action.
|
| JoinSession(string presentation_url, string? presentation_id)
|
| => (PresentationSessionInfo? sessionInfo, PresentationError? error);
|
| -};
|
| +};
|
|
|