Chromium Code Reviews| Index: Source/modules/presentation/PresentationController.cpp |
| diff --git a/Source/modules/presentation/PresentationController.cpp b/Source/modules/presentation/PresentationController.cpp |
| index 47d8ae9b4584071834c2525a4933d1ef5ee070af..6f84e0ff85940f81cd4e309f8e299521058786da 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::send(const String& url, const String& presentationId, const String& message) |
|
mlamouri (slow - plz ping)
2015/04/16 10:06:30
ditto
USE s.singapati at gmail.com
2015/04/16 16:10:01
Done.
|
| +{ |
| + if (!m_client) |
| + return; |
| + m_client->sendString(url, presentationId, message); |
| +} |
| + |
| +void PresentationController::send(const String& url, const String& presentationId, const char* data, size_t length) |
|
mlamouri (slow - plz ping)
2015/04/16 10:06:30
ditto
USE s.singapati at gmail.com
2015/04/16 16:10:01
Done.
|
| +{ |
| + if (!m_client) |
| + return; |
| + m_client->sendArrayBuffer(url, presentationId, data, length); |
| +} |
| + |
| void PresentationController::closeSession(const String& url, const String& presentationId) |
| { |
| if (!m_client) |