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 1549f75d98a0d38b71e25080e9101c08648d5658..aead5a51cd8f2a6f006e76d3ea99c165012d34c2 100644 |
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h |
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h |
@@ -48,7 +48,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. |
@@ -75,12 +75,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, |
@@ -130,6 +124,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. |