Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h |
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h |
index 343a37070a622676dd5c51998e6a0c7fd494add5..6116881de758091f1f5a6fddbf03676f08038bdf 100644 |
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h |
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h |
@@ -30,6 +30,10 @@ class BLINK_PLATFORM_EXPORT WebPresentationReceiver { |
// Called when any PresentationConnection object on receiver page invokes |
// connnection.terminate(). |
virtual void TerminateConnection() = 0; |
+ |
+ // Called when any receiver connection switches to 'closed' state. Remove the |
+ // connection from PresentationReceiver's connection list. |
+ virtual void RemoveConnection(WebPresentationConnection*) = 0; |
}; |
} // namespace blink |