Index: third_party/WebKit/Source/modules/presentation/PresentationController.h |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.h b/third_party/WebKit/Source/modules/presentation/PresentationController.h |
index 80a141ee5307a92ee38f65900440ee4046df99aa..421c8fb4194e2c706ae522700cefa66f77b9fd38 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.h |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.h |
@@ -70,6 +70,13 @@ class MODULES_EXPORT PresentationController final |
// Handling of running connections. |
void registerConnection(PresentationConnection*); |
+ // Return a connection in |m_connections| with id equals to |presentationId|, |
+ // url equals to one of |presentationUrls|, and state is not terminated. |
+ // Return null if such a connection does not exist. |
+ PresentationConnection* findExistingConnection( |
+ const blink::WebVector<blink::WebURL>& presentationUrls, |
+ const blink::WebString& presentationId); |
+ |
private: |
PresentationController(LocalFrame&, WebPresentationClient*); |