Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: public/platform/modules/presentation/WebPresentationClient.h

Issue 1131463006: [PresentationAPI] Plumbing send(Blob) from PresentationSession IDL to platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..43c2328e5f8504a288f80dd5762f89961fa59177 100644
--- a/public/platform/modules/presentation/WebPresentationClient.h
+++ b/public/platform/modules/presentation/WebPresentationClient.h
@@ -46,6 +46,13 @@ 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.
+ virtual void sendBlobData(const WebString& presentationUrl, const WebString& presentationId, const uint8_t* data, size_t length)
mlamouri (slow - plz ping) 2015/05/19 13:08:55 Could you say in the comment what should be done w
USE s.singapati at gmail.com 2015/05/21 19:49:55 Done. Updated comments.
+ {
+ // 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;
};

Powered by Google App Engine
This is Rietveld 408576698