| Index: third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
| diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
| index a8d57d473241c1324439cf4c3aeb9d2ac64ac982..047c6056b47258fdc3a612988057bbe9ea5a7788 100644
|
| --- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
| +++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h
|
| @@ -15,6 +15,7 @@ namespace blink {
|
| class WebPresentationAvailabilityObserver;
|
| class WebPresentationController;
|
| class WebPresentationConnectionClient;
|
| +class WebPresentationConnectionProxy;
|
| class WebPresentationReceiver;
|
| class WebString;
|
| class WebURL;
|
| @@ -60,21 +61,24 @@ class WebPresentationClient {
|
| // session.
|
| virtual void sendString(const WebURL& presentationUrl,
|
| const WebString& presentationId,
|
| - const WebString& message) = 0;
|
| + const WebString& message,
|
| + const WebPresentationConnectionProxy*) = 0;
|
|
|
| // Called when the frame requests to send ArrayBuffer/View data to an existing
|
| // session. Embedder copies the |data| and the ownership is not transferred.
|
| virtual void sendArrayBuffer(const WebURL& presentationUrl,
|
| const WebString& presentationId,
|
| const uint8_t* data,
|
| - size_t length) = 0;
|
| + size_t length,
|
| + const WebPresentationConnectionProxy*) = 0;
|
|
|
| // Called when the frame requests to send Blob data to an existing session.
|
| // Embedder copies the |data| and the ownership is not transferred.
|
| virtual void sendBlobData(const WebURL& presentationUrl,
|
| const WebString& presentationId,
|
| const uint8_t* data,
|
| - size_t length) = 0;
|
| + size_t length,
|
| + const WebPresentationConnectionProxy*) = 0;
|
|
|
| // Called when the frame requests to close an existing session.
|
| virtual void closeSession(const WebURL& presentationUrl,
|
|
|