OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 5 #ifndef COMPONENTS_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 6 #define COMPONENTS_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/media/router/media_sink.h" | 12 #include "components/media_router/media_sink.h" |
13 #include "chrome/browser/media/router/media_source.h" | 13 #include "components/media_router/media_source.h" |
14 | 14 |
15 namespace media_router { | 15 namespace media_router { |
16 | 16 |
17 // MediaRoute objects contain the status and metadata of a routing | 17 // MediaRoute objects contain the status and metadata of a routing |
18 // operation. The fields are immutable and reflect the route status | 18 // operation. The fields are immutable and reflect the route status |
19 // only at the time of object creation. Updated route statuses must | 19 // only at the time of object creation. Updated route statuses must |
20 // be retrieved as new MediaRoute objects from the Media Router. | 20 // be retrieved as new MediaRoute objects from the Media Router. |
21 // | 21 // |
22 // TODO(mfoltz): Convert to a simple struct and remove uncommon parameters from | 22 // TODO(mfoltz): Convert to a simple struct and remove uncommon parameters from |
23 // the ctor. | 23 // the ctor. |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // |true| if the route was created by an incognito profile. | 120 // |true| if the route was created by an incognito profile. |
121 bool is_incognito_ = false; | 121 bool is_incognito_ = false; |
122 | 122 |
123 // |true| if the presentation associated with this route is an offscreen | 123 // |true| if the presentation associated with this route is an offscreen |
124 // presentation. | 124 // presentation. |
125 bool is_offscreen_presentation_ = false; | 125 bool is_offscreen_presentation_ = false; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace media_router | 128 } // namespace media_router |
129 | 129 |
130 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ | 130 #endif // COMPONENTS_MEDIA_ROUTER_MEDIA_ROUTE_H_ |
OLD | NEW |