Chromium Code Reviews| 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 61b30ba1fa1127217bec133b315db134b25e0025..128c1bd81674cadb9191cefc4740eaa048cd4981 100644 |
| --- a/content/browser/presentation/presentation_service_impl.h |
| +++ b/content/browser/presentation/presentation_service_impl.h |
| @@ -59,6 +59,9 @@ class CONTENT_EXPORT PresentationServiceImpl |
| presentation::PresentationErrorPtr)>; |
| using DefaultSessionMojoCallback = |
| mojo::Callback<void(presentation::PresentationSessionInfoPtr)>; |
| + using SessionStateCallback = |
| + mojo::Callback<void(presentation::PresentationSessionInfoPtr, |
| + presentation::PresentationSessionState)>; |
|
Peter Beverloo
2015/03/20 19:13:39
nit: align with (
whywhat
2015/03/24 19:20:57
Acknowledged.
|
| // A helper data class used by PresentationServiceImpl to do bookkeeping |
| // of currently registered screen availability listeners. |
| @@ -164,6 +167,8 @@ class CONTENT_EXPORT PresentationServiceImpl |
| void CloseSession( |
| const mojo::String& presentation_url, |
| const mojo::String& presentation_id) override; |
| + void ListenForSessionStateChange( |
| + const SessionStateCallback& callback) override; |
| // mojo::InterfaceImpl override. |
| // Note that this is called when the RenderFrameHost is deleted. |