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

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

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Yuri's comments; rework of the OffscreenPresentationManager interface Created 5 years, 3 months 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_route.h
diff --git a/chrome/browser/media/router/media_route.h b/chrome/browser/media/router/media_route.h
index b3056892f087b5138652036d1cc008acb0be66bd..c22d747fbd7055b3c7189ce6e26f7ffd1e44c64f 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -72,6 +72,11 @@ class MediaRoute {
bool for_display() const { return for_display_; }
+ bool is_offscreen_presentation() const { return is_offscreen_presentation_; }
+ void set_is_offscreen_presentation(bool is_offscreen_presentation) {
+ is_offscreen_presentation = is_offscreen_presentation_;
+ }
+
bool Equals(const MediaRoute& other) const;
private:
@@ -82,6 +87,7 @@ class MediaRoute {
bool is_local_;
std::string custom_controller_path_;
bool for_display_;
+ bool is_offscreen_presentation_;
};
} // namespace media_router

Powered by Google App Engine
This is Rietveld 408576698