Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
index cf3f4eacb60814de7022d2321d98180f9c30d473..055cee415103b43f554eb4dc612adf753a34f2ce 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.h |
@@ -37,6 +37,9 @@ class MODULES_EXPORT PresentationConnectionList final |
DEFINE_ATTRIBUTE_EVENT_LISTENER(connectionavailable); |
void AddConnection(PresentationConnection*); |
+ // Remove connection from connection list. Returns true if connection is |
+ // successfully removed; Returns false if connection does not exist. |
+ bool RemoveConnection(WebPresentationConnection*); |
void DispatchConnectionAvailableEvent(PresentationConnection*); |
bool IsEmpty(); |