Index: chrome/browser/media/router/presentation_service_delegate_impl.h |
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.h b/chrome/browser/media/router/presentation_service_delegate_impl.h |
index 6981b117a28316d19ef20311f4bdc9a3b9cdf648..0204f4075778a250509c42eb0b67a9db7a01e42c 100644 |
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h |
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h |
@@ -35,6 +35,7 @@ namespace media_router { |
class MediaRoute; |
class MediaSinksObserver; |
+class OffscreenPresentationManager; |
class PresentationFrameManager; |
class RouteRequestResult; |
@@ -46,7 +47,7 @@ class RouteRequestResult; |
// and is managed by the associated WebContents. |
class PresentationServiceDelegateImpl |
: public content::WebContentsUserData<PresentationServiceDelegateImpl>, |
- public content::PresentationServiceDelegate { |
+ public content::ControllerPresentationServiceDelegate { |
public: |
// Observer interface for listening to default presentation request |
// changes for the WebContents. |
@@ -73,12 +74,6 @@ class PresentationServiceDelegateImpl |
~PresentationServiceDelegateImpl() override; |
- // content::PresentationServiceDelegate implementation. |
- void AddObserver( |
- int render_process_id, |
- int render_frame_id, |
- content::PresentationServiceDelegate::Observer* observer) override; |
- void RemoveObserver(int render_process_id, int render_frame_id) override; |
bool AddScreenAvailabilityListener( |
int render_process_id, |
int render_frame_id, |
@@ -128,6 +123,11 @@ class PresentationServiceDelegateImpl |
const content::PresentationSessionInfo& connection, |
const content::PresentationConnectionStateChangedCallback& |
state_changed_cb) override; |
+ void ConnectToOffscreenPresentation( |
+ int render_process_id, |
+ int render_frame_id, |
+ const content::PresentationSessionInfo& session, |
+ content::PresentationConnectionPtr connection) override; |
// Callback invoked when a default PresentationRequest is started from a |
// browser-initiated dialog. |