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

Unified Diff: Source/modules/presentation/PresentationController.cpp

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.cpp
diff --git a/Source/modules/presentation/PresentationController.cpp b/Source/modules/presentation/PresentationController.cpp
index 47c7f1bbc9a9b33cba07d5fca2b2ad93b5c3aac8..f3b84a851d2e7ff9ebbf9450b42bd90eadd44cde 100644
--- a/Source/modules/presentation/PresentationController.cpp
+++ b/Source/modules/presentation/PresentationController.cpp
@@ -134,6 +134,13 @@ void PresentationController::send(const String& presentationUrl, const String& p
m_client->sendArrayBuffer(presentationUrl, presentationId, data, length);
}
+void PresentationController::sendBlobData(const String& presentationUrl, const String& presentationId, const uint8_t* data, size_t length)
+{
+ if (!m_client)
+ return;
+ m_client->sendBlobData(presentationUrl, presentationId, data, length);
+}
+
void PresentationController::closeSession(const String& url, const String& presentationId)
{
if (!m_client)

Powered by Google App Engine
This is Rietveld 408576698