| 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 4d809008bfe6f5027fdb11aad43ac2e4aba1c703..c26112b12e682214df0510fccf3d05e21c0c2001 100644
|
| --- a/chrome/browser/media/router/media_route.h
|
| +++ b/chrome/browser/media/router/media_route.h
|
| @@ -82,6 +82,14 @@ class MediaRoute {
|
|
|
| bool off_the_record() const { return off_the_record_; }
|
|
|
| + // Set to |true| if the presentation associated with this route is an
|
| + // offscreen presentation.
|
| + void set_is_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:
|
| @@ -93,6 +101,7 @@ class MediaRoute {
|
| std::string custom_controller_path_;
|
| bool for_display_;
|
| bool off_the_record_;
|
| + bool is_offscreen_presentation_;
|
| };
|
|
|
| } // namespace media_router
|
|
|