Chromium Code Reviews| Index: Source/modules/presentation/Presentation.cpp |
| diff --git a/Source/modules/presentation/Presentation.cpp b/Source/modules/presentation/Presentation.cpp |
| index 6ef6307c8934a53802f313219dcca8a74892fc89..b37a48acabcc9bd9dd9cdd34e7d0a04fe09fb665 100644 |
| --- a/Source/modules/presentation/Presentation.cpp |
| +++ b/Source/modules/presentation/Presentation.cpp |
| @@ -170,6 +170,15 @@ void Presentation::didReceiveSessionTextMessage(WebPresentationSessionClient* se |
| PresentationSession::dispose(sessionClient); |
| } |
| +void Presentation::didReceiveSessionBinaryMessage(WebPresentationSessionClient* sessionClient, const uint8_t* data, size_t length) |
| +{ |
| + PresentationSession* session = findSession(sessionClient); |
| + if (session) |
| + session->didReceiveBinaryMessage(data, length); |
| + |
| + PresentationSession::dispose(sessionClient); |
|
mark a. foltz
2015/07/06 21:19:45
This method will be going away soon; see https://c
USE s.singapati at gmail.com
2015/07/07 15:00:33
Done.
|
| +} |
| + |
| void Presentation::registerSession(PresentationSession* session) |
| { |
| m_openSessions.add(session); |