| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| index d09b9cdfe4b886c08c171feb6abf0e1162f7736b..b5cb2a837a33634f7e63f546c31146ae8f5783ba 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.h
|
| @@ -73,6 +73,10 @@ class PresentationConnection final : public EventTargetWithInlineData,
|
| // connection.
|
| bool matches(const WebPresentationSessionInfo&) const;
|
|
|
| + // Returns true if this connection's id equals to |id| and its url equals to
|
| + // |url|.
|
| + bool matches(const String& id, const KURL&) const;
|
| +
|
| // Notifies the connection about its state change.
|
| void didChangeState(WebPresentationConnectionState);
|
|
|
| @@ -83,6 +87,8 @@ class PresentationConnection final : public EventTargetWithInlineData,
|
| void didReceiveTextMessage(const String& message);
|
| void didReceiveBinaryMessage(const uint8_t* data, size_t length);
|
|
|
| + WebPresentationConnectionState getState();
|
| +
|
| protected:
|
| // EventTarget implementation.
|
| void addedEventListener(const AtomicString& eventType,
|
|
|