Index: content/common/presentation/presentation_service.mojom |
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom |
index 0476e9dea653633316664162cbca9b1fa8b41822..36756e23a080698ec63f93627b099bba23d9750e 100644 |
--- a/content/common/presentation/presentation_service.mojom |
+++ b/content/common/presentation/presentation_service.mojom |
@@ -38,15 +38,14 @@ interface PresentationService { |
// handling the result (provided via Mojo callback) to get the next update |
// about the availability status. |
// May start discovery of the presentation screens. The implementation might |
- // 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) => |
+ // stop discovery once there are no active calls to |
+ // ListenForScreenAvailability. |presentation_url| can be specified to help |
+ // the implementation to filter out incompatible screens. |
+ ListenForScreenAvailability(string? presentation_url) => |
(string? presentation_url, bool available); |
- // Called when the frame no longer listens to the |
- // |availablechange| event. |
- OnScreenAvailabilityListenerRemoved(string? presentation_url); |
+ // Called when the frame no longer listens to the |availablechange| event. |
+ RemoveScreenAvailabilityListener(string? presentation_url); |
// Called when the renderer is ready to receive the browser initiated |
// session. If the default session is started by the embedder before this |