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 65e729f49bd85d0c73f5ba844c23837237dedf05..3688d25a8e130097dad12d346572efa48dfa9def 100644 |
--- a/content/browser/presentation/presentation_service_impl.h |
+++ b/content/browser/presentation/presentation_service_impl.h |
@@ -54,6 +54,8 @@ class CONTENT_EXPORT PresentationServiceImpl |
using NewSessionMojoCallback = |
mojo::Callback<void(presentation::PresentationSessionInfoPtr, |
presentation::PresentationErrorPtr)>; |
+ using DefaultSessionMojoCallback = |
+ mojo::Callback<void(presentation::PresentationSessionInfoPtr)>; |
friend class PresentationServiceImplTest; |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, RemoveAllListeners); |
@@ -80,6 +82,8 @@ class CONTENT_EXPORT PresentationServiceImpl |
const mojo::String& presentation_url, |
const ScreenAvailabilityMojoCallback& callback) override; |
void OnScreenAvailabilityListenerRemoved() override; |
+ void ListenForDefaultSessionStart( |
+ const DefaultSessionMojoCallback& callback) override; |
void StartSession( |
const mojo::String& presentation_url, |
const mojo::String& presentation_id, |