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

Unified Diff: Source/modules/presentation/PresentationController.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: Source/modules/presentation/PresentationController.h
diff --git a/Source/modules/presentation/PresentationController.h b/Source/modules/presentation/PresentationController.h
index 0b431e4011c6e2185eaec5ae6cb8ad6a58b30250..3b1ea1f74da7deefaba029a0500fc3c56a1f2261 100644
--- a/Source/modules/presentation/PresentationController.h
+++ b/Source/modules/presentation/PresentationController.h
@@ -58,12 +58,15 @@ public:
// Called when the frame wants to join an existing presentation.
void joinSession(const String& presentationUrl, const String& presentationId, WebPresentationSessionClientCallbacks*);
- // Called when the frame wants to send String message to an existing presentation.
+ // Called when the frame wants to send String message to an existing presentation session.
void send(const String& presentationUrl, const String& presentationId, const String& message);
- // Called when the frame wants to send ArrayBuffer/View data to an existing presentation.
+ // Called when the frame wants to send ArrayBuffer/View data to an existing presentation session.
void send(const String& presentationUrl, const String& presentationId, const uint8_t* data, size_t length);
+ // Called when the frame want to send Blob data to an existing presentation session.
+ void sendBlobData(const String& presentationUrl, const String& presentationId, const uint8_t* data, size_t length);
+
// Called when the frame wants to close an existing presentation.
void closeSession(const String& url, const String& presentationId);

Powered by Google App Engine
This is Rietveld 408576698