| Index: content/browser/presentation/presentation_type_converters.cc
|
| diff --git a/content/browser/presentation/presentation_type_converters.cc b/content/browser/presentation/presentation_type_converters.cc
|
| index ff322315a31d39a737cd3cf6b987511ddca9ab67..aedfa1ae8c01cfe8e4f41218e0ebf1969f2a2167 100644
|
| --- a/content/browser/presentation/presentation_type_converters.cc
|
| +++ b/content/browser/presentation/presentation_type_converters.cc
|
| @@ -12,30 +12,30 @@ presentation::PresentationErrorType PresentationErrorTypeToMojo(
|
| content::PresentationErrorType input) {
|
| switch (input) {
|
| case content::PRESENTATION_ERROR_NO_AVAILABLE_SCREENS:
|
| - return presentation::PRESENTATION_ERROR_TYPE_NO_AVAILABLE_SCREENS;
|
| + return presentation::PresentationErrorType::NO_AVAILABLE_SCREENS;
|
| case content::PRESENTATION_ERROR_SESSION_REQUEST_CANCELLED:
|
| - return presentation::PRESENTATION_ERROR_TYPE_SESSION_REQUEST_CANCELLED;
|
| + return presentation::PresentationErrorType::SESSION_REQUEST_CANCELLED;
|
| case content::PRESENTATION_ERROR_NO_PRESENTATION_FOUND:
|
| - return presentation::PRESENTATION_ERROR_TYPE_NO_PRESENTATION_FOUND;
|
| + return presentation::PresentationErrorType::NO_PRESENTATION_FOUND;
|
| case content::PRESENTATION_ERROR_UNKNOWN:
|
| - return presentation::PRESENTATION_ERROR_TYPE_UNKNOWN;
|
| + return presentation::PresentationErrorType::UNKNOWN;
|
| }
|
| NOTREACHED();
|
| - return presentation::PRESENTATION_ERROR_TYPE_UNKNOWN;
|
| + return presentation::PresentationErrorType::UNKNOWN;
|
| }
|
|
|
| presentation::PresentationConnectionState PresentationConnectionStateToMojo(
|
| content::PresentationConnectionState state) {
|
| switch (state) {
|
| case content::PRESENTATION_CONNECTION_STATE_CONNECTED:
|
| - return presentation::PRESENTATION_CONNECTION_STATE_CONNECTED;
|
| + return presentation::PresentationConnectionState::CONNECTED;
|
| case content::PRESENTATION_CONNECTION_STATE_CLOSED:
|
| - return presentation::PRESENTATION_CONNECTION_STATE_CLOSED;
|
| + return presentation::PresentationConnectionState::CLOSED;
|
| case content::PRESENTATION_CONNECTION_STATE_TERMINATED:
|
| - return presentation::PRESENTATION_CONNECTION_STATE_TERMINATED;
|
| + return presentation::PresentationConnectionState::TERMINATED;
|
| }
|
| NOTREACHED();
|
| - return presentation::PRESENTATION_CONNECTION_STATE_TERMINATED;
|
| + return presentation::PresentationConnectionState::TERMINATED;
|
| }
|
|
|
| } // namespace content
|
|
|