Index: public/platform/modules/presentation/WebPresentationClient.h |
diff --git a/public/platform/modules/presentation/WebPresentationClient.h b/public/platform/modules/presentation/WebPresentationClient.h |
index 15e4d6e15845395d0046f36c3c35d3e8381763bf..f6c05aa6d3e5a928d0b55d3c7962edc463377f85 100644 |
--- a/public/platform/modules/presentation/WebPresentationClient.h |
+++ b/public/platform/modules/presentation/WebPresentationClient.h |
@@ -46,6 +46,14 @@ public: |
// Called when the frame requests to send ArrayBuffer/View data to an existing session. |
virtual void sendArrayBuffer(const WebString& presentationUrl, const WebString& presentationId, const uint8_t* data, size_t length) = 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 WebString& presentationUrl, const WebString& presentationId, const uint8_t* data, size_t length) |
+ { |
+ // TODO(s.singapati): Make this method pure virtual once Chromium has the implementation. |
+ BLINK_ASSERT_NOT_REACHED(); |
+ } |
+ |
// Called when the frame requests to close an existing session. |
virtual void closeSession(const WebString& url, const WebString& presentationId) = 0; |
}; |