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

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

Issue 1002293005: [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added plumbing for ArrayBuffer and ArrayBufferView. Created 5 years, 9 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 47d8ae9b4584071834c2525a4933d1ef5ee070af..b038520c2037c8e2040412210a6d3b592382d4b1 100644
--- a/Source/modules/presentation/PresentationController.cpp
+++ b/Source/modules/presentation/PresentationController.cpp
@@ -112,6 +112,20 @@ void PresentationController::joinSession(const String& presentationUrl, const St
m_client->joinSession(presentationUrl, presentationId, callbacks);
}
+void PresentationController::postMessage(const String& url, const String& presentationId, const String& message)
mark a. foltz 2015/04/02 20:26:39 send()
USE s.singapati at gmail.com 2015/04/07 15:49:00 Done.
+{
+ if (!m_client)
+ return;
+ m_client->postMessage(url, presentationId, message);
+}
+
+void PresentationController::postMessage(const String& url, const String& presentationId, const char* data, size_t length)
mark a. foltz 2015/04/02 20:26:39 send()
USE s.singapati at gmail.com 2015/04/07 15:48:59 Done.
+{
+ if (!m_client)
+ return;
+ m_client->postMessage(url, presentationId, data, length);
+}
+
void PresentationController::closeSession(const String& url, const String& presentationId)
{
if (!m_client)

Powered by Google App Engine
This is Rietveld 408576698