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 4292fafd9fa59ad5bba64f61d76714a975dc3226..4e6f7b5b5b41aa87a6f0e56ab28f0858113f820b 100644 |
--- a/content/browser/presentation/presentation_service_impl.h |
+++ b/content/browser/presentation/presentation_service_impl.h |
@@ -13,6 +13,7 @@ |
#include "base/memory/linked_ptr.h" |
#include "content/common/content_export.h" |
#include "content/common/presentation/presentation_service.mojom.h" |
+#include "content/common/presentation/presentation_session.mojom.h" |
#include "content/public/browser/navigation_details.h" |
#include "content/public/browser/presentation_screen_availability_listener.h" |
#include "content/public/browser/presentation_service_delegate.h" |
@@ -50,6 +51,12 @@ class CONTENT_EXPORT PresentationServiceImpl |
private: |
typedef mojo::Callback<void(bool)> ScreenAvailabilityMojoCallback; |
+ typedef mojo::Callback<void( |
+ bool, |
+ mojo::InterfaceRequest<presentation::PresentationSession>, |
+ mojo::String, |
+ mojo::String, |
+ mojo::String)> NewSessionMojoCallback; |
friend class PresentationServiceImplTest; |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, RemoveAllListeners); |
@@ -76,6 +83,14 @@ class CONTENT_EXPORT PresentationServiceImpl |
const mojo::String& presentation_url, |
const ScreenAvailabilityMojoCallback& callback) override; |
void OnScreenAvailabilityListenerRemoved() override; |
+ void StartSession( |
+ const mojo::String& presentation_url, |
+ const mojo::String& presentation_id, |
+ const NewSessionMojoCallback& callback) override; |
+ void JoinSession( |
+ const mojo::String& presentation_url, |
+ const mojo::String& presentation_id, |
+ const NewSessionMojoCallback& callback) override; |
// mojo::InterfaceImpl override. |
// Note that this is called when the RenderFrameHost is deleted. |