| 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 8ad297d85635917b7400d43cb0f323caa4288b98..6decc095684bc82cdd147cb1eddf3818b7f4216c 100644
|
| --- a/chrome/browser/media/router/media_route.h
|
| +++ b/chrome/browser/media/router/media_route.h
|
| @@ -78,6 +78,14 @@ class MediaRoute {
|
|
|
| bool is_incognito() const { return is_incognito_; }
|
|
|
| + // Set to |true| if the presentation associated with this route is an
|
| + // offscreen presentation.
|
| + void set_offscreen_presentation(bool is_offscreen_presentation) {
|
| + is_offscreen_presentation_ = is_offscreen_presentation;
|
| + }
|
| +
|
| + bool is_offscreen_presentation() const { return is_offscreen_presentation_; }
|
| +
|
| bool Equals(const MediaRoute& other) const;
|
|
|
| private:
|
| @@ -89,6 +97,7 @@ class MediaRoute {
|
| std::string custom_controller_path_;
|
| bool for_display_;
|
| bool is_incognito_;
|
| + bool is_offscreen_presentation_;
|
| };
|
|
|
| } // namespace media_router
|
|
|