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 #include <stddef.h> |
| 6 |
5 #include "chrome/browser/media/router/media_router_type_converters.h" | 7 #include "chrome/browser/media/router/media_router_type_converters.h" |
6 | 8 |
7 using media_router::interfaces::IssuePtr; | 9 using media_router::interfaces::IssuePtr; |
8 using media_router::interfaces::MediaRoutePtr; | 10 using media_router::interfaces::MediaRoutePtr; |
9 using media_router::interfaces::MediaSinkPtr; | 11 using media_router::interfaces::MediaSinkPtr; |
10 | 12 |
11 using PresentationConnectionState = | 13 using PresentationConnectionState = |
12 media_router::interfaces::MediaRouter::PresentationConnectionState; | 14 media_router::interfaces::MediaRouter::PresentationConnectionState; |
13 | 15 |
14 namespace mojo { | 16 namespace mojo { |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 return content::PRESENTATION_CONNECTION_STATE_CLOSED; | 144 return content::PRESENTATION_CONNECTION_STATE_CLOSED; |
143 case PresentationConnectionState::PRESENTATION_CONNECTION_STATE_TERMINATED: | 145 case PresentationConnectionState::PRESENTATION_CONNECTION_STATE_TERMINATED: |
144 return content::PRESENTATION_CONNECTION_STATE_TERMINATED; | 146 return content::PRESENTATION_CONNECTION_STATE_TERMINATED; |
145 default: | 147 default: |
146 NOTREACHED() << "Unknown PresentationConnectionState " << state; | 148 NOTREACHED() << "Unknown PresentationConnectionState " << state; |
147 return content::PRESENTATION_CONNECTION_STATE_TERMINATED; | 149 return content::PRESENTATION_CONNECTION_STATE_TERMINATED; |
148 } | 150 } |
149 } | 151 } |
150 | 152 |
151 } // namespace mojo | 153 } // namespace mojo |
OLD | NEW |