Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1484)

Unified Diff: chrome/browser/media/router/presentation_service_delegate_impl.h

Issue 2517833004: [MR] Cancel auto-switching from tab mirroring to Cast SDK at page navigation based on user pref (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8b89af126f8b754d20ad365bc41001c80622d411..b5a31966648a1b48e41fa824132b664135b0ce49 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h
@@ -195,6 +195,9 @@ class PresentationServiceDelegateImpl
const content::PresentationSessionInfo& new_session,
const MediaRoute::Id& route_id);
+ // Returns true if auto-join requests should be cancelled for |origin|.
+ bool ShouldOverrideAutoJoinForOrigin(const GURL& origin) const;
+
// References to the WebContents that owns this instance, and associated
// browser profile's MediaRouter instance.
content::WebContents* const web_contents_;

Powered by Google App Engine
This is Rietveld 408576698