Chromium Code Reviews| 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 dfa9a4a9ffcffd244a1146f62ad5d57621480171..5747bb72c8c26d46389c4d64e06e92ad42c4229e 100644 |
| --- a/chrome/browser/media/router/presentation_service_delegate_impl.h |
| +++ b/chrome/browser/media/router/presentation_service_delegate_impl.h |
| @@ -30,6 +30,10 @@ struct PresentationSessionInfo; |
| struct PresentationSessionMessage; |
| } // namespace content |
| +namespace url { |
| +class Origin; |
| +} // namespace url |
| + |
| namespace media_router { |
| class MediaRoute; |
| @@ -194,6 +198,9 @@ class PresentationServiceDelegateImpl |
| const content::PresentationSessionInfo& new_session, |
| const MediaRoute& route); |
| + // Returns true if auto-join requests should be cancelled for |origin|. |
| + bool ShouldOverrideAutoJoinForOrigin(const url::Origin& origin) const; |
|
mark a. foltz
2016/12/05 21:32:22
ShouldCancelAutoJoinForOrigin?
takumif
2016/12/06 02:21:58
Changed.
|
| + |
| // References to the WebContents that owns this instance, and associated |
| // browser profile's MediaRouter instance. |
| content::WebContents* const web_contents_; |