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 b368751c5b49150b61b69226c5dd0dd055c5bb55..ff4516af15a76b77e4febd61c92f7549b1411e21 100644 |
--- a/chrome/browser/media/router/media_route.h |
+++ b/chrome/browser/media/router/media_route.h |
@@ -71,6 +71,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: |
@@ -81,6 +86,10 @@ class MediaRoute { |
bool is_local_; |
std::string custom_controller_path_; |
bool for_display_; |
+ |
+ // Set to |true| if the presentation associated with this route is an |
+ // offscreen presentation. |
+ bool is_offscreen_presentation_; |
}; |
} // namespace media_router |