| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_DISCOVERY_MEDIA_SINK_INTERNAL_H_ | 5 #ifndef CHROME_COMMON_MEDIA_ROUTER_DISCOVERY_MEDIA_SINK_INTERNAL_H_ |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_MEDIA_SINK_INTERNAL_H_ | 6 #define CHROME_COMMON_MEDIA_ROUTER_DISCOVERY_MEDIA_SINK_INTERNAL_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/memory/manual_constructor.h" | 10 #include "base/memory/manual_constructor.h" |
| 11 #include "chrome/browser/media/router/media_sink.h" | 11 #include "chrome/common/media_router/media_sink.h" |
| 12 #include "net/base/ip_address.h" | 12 #include "net/base/ip_address.h" |
| 13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 14 | 14 |
| 15 namespace media_router { | 15 namespace media_router { |
| 16 | 16 |
| 17 // Extra data for DIAL media sink. | 17 // Extra data for DIAL media sink. |
| 18 struct DialSinkExtraData { | 18 struct DialSinkExtraData { |
| 19 net::IPAddress ip_address; | 19 net::IPAddress ip_address; |
| 20 | 20 |
| 21 // Model name of the sink. | 21 // Model name of the sink. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // Set if sink is DIAL sink. | 118 // Set if sink is DIAL sink. |
| 119 base::ManualConstructor<DialSinkExtraData> dial_data_; | 119 base::ManualConstructor<DialSinkExtraData> dial_data_; |
| 120 | 120 |
| 121 // Set if sink is Cast sink. | 121 // Set if sink is Cast sink. |
| 122 base::ManualConstructor<CastSinkExtraData> cast_data_; | 122 base::ManualConstructor<CastSinkExtraData> cast_data_; |
| 123 }; | 123 }; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace media_router | 126 } // namespace media_router |
| 127 | 127 |
| 128 #endif // CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_MEDIA_SINK_INTERNAL_H_ | 128 #endif // CHROME_COMMON_MEDIA_ROUTER_DISCOVERY_MEDIA_SINK_INTERNAL_H_ |
| OLD | NEW |