Index: content/browser/presentation/presentation_service_impl.h |
diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h |
index 21de733b7b0cab9558f7b9feff54661c7d687961..fd85fe8f3444207f03aca3fe1093b846633894df 100644 |
--- a/content/browser/presentation/presentation_service_impl.h |
+++ b/content/browser/presentation/presentation_service_impl.h |
@@ -64,6 +64,8 @@ class CONTENT_EXPORT PresentationServiceImpl |
using SessionStateCallback = |
mojo::Callback<void(presentation::PresentationSessionInfoPtr, |
presentation::PresentationSessionState)>; |
+ using SessionMessagesCallback = |
+ mojo::Callback<void(mojo::Array<presentation::SessionMessagePtr>)>; |
// A helper data class used by PresentationServiceImpl to do bookkeeping |
// of currently registered screen availability listeners. |
@@ -207,6 +209,8 @@ class CONTENT_EXPORT PresentationServiceImpl |
const mojo::String& presentation_id) override; |
void ListenForSessionStateChange( |
const SessionStateCallback& callback) override; |
+ void ListenForSessionMessages( |
+ const SessionMessagesCallback& callback) override; |
// Creates a binding between this object and |request|. |
void Bind(mojo::InterfaceRequest<presentation::PresentationService> request); |