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

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

Issue 2517833004: [MR] Cancel auto-switching from tab mirroring to Cast SDK at page navigation based on user pref (Closed)
Patch Set: Rebase Created 4 years 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/media_source_helper.h
diff --git a/chrome/browser/media/router/media_source_helper.h b/chrome/browser/media/router/media_source_helper.h
index 64d6e749ce6f9781b093bb1b32d737e1422876e8..6081b69a72ad1888ca8396739822c0dcdd1fe651 100644
--- a/chrome/browser/media/router/media_source_helper.h
+++ b/chrome/browser/media/router/media_source_helper.h
@@ -44,6 +44,9 @@ bool IsValidMediaSource(const MediaSource& source);
// Returns true if |url| is a valid presentation URL.
bool IsValidPresentationUrl(const GURL& url);
+// Returns true if |presentation_id| is an ID used by auto-join requests.
+bool IsAutoJoinPresentationId(const std::string& presentation_id);
+
} // namespace media_router
#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
« no previous file with comments | « no previous file | chrome/browser/media/router/media_source_helper.cc » ('j') | chrome/browser/media/router/media_source_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698