| 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..4fdcba68991afa2291aec7e0c0bafea264480364 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,8 @@ class CONTENT_EXPORT PresentationServiceImpl
|
|
|
| private:
|
| typedef mojo::Callback<void(bool)> ScreenAvailabilityMojoCallback;
|
| + typedef mojo::Callback<void(presentation::PresentationSessionInfoPtr,
|
| + presentation::PresentationErrorPtr)> NewSessionMojoCallback;
|
|
|
| friend class PresentationServiceImplTest;
|
| FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, RemoveAllListeners);
|
| @@ -76,6 +79,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.
|
|
|