Index: chrome/common/media_router/media_route.h |
diff --git a/chrome/common/media_router/media_route.h b/chrome/common/media_router/media_route.h |
index 0b9c1d40f248e5346520f06ec0ec4e2d5e305b1c..46562ee3a11efb55e170200f8741bd756d460792 100644 |
--- a/chrome/common/media_router/media_route.h |
+++ b/chrome/common/media_router/media_route.h |
@@ -78,6 +78,13 @@ class MediaRoute { |
return custom_controller_path_; |
} |
+ void set_supports_web_ui_controller(bool supports_web_ui_controller) { |
+ supports_web_ui_controller_ = supports_web_ui_controller; |
+ } |
+ bool supports_web_ui_controller() const { |
+ return supports_web_ui_controller_; |
+ } |
+ |
void set_for_display(bool for_display) { for_display_ = for_display; } |
bool for_display() const { return for_display_; } |
@@ -114,6 +121,9 @@ class MediaRoute { |
// the media router dialog. |
std::string custom_controller_path_; |
+ // Whether the provider for this route supports WebUI route controllers. |
+ bool supports_web_ui_controller_; |
imcheng
2017/06/16 00:12:32
= false;
takumif
2017/06/16 18:16:53
Done.
|
+ |
// |true| if the route can be displayed in the UI. |
bool for_display_ = false; |