| 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 cd649976d5f1b56486c7b71a01c247a8d46e831a..6068950add495eb5fa8c23e457ae9d5f8ecb5de0 100644
|
| --- a/content/browser/presentation/presentation_type_converters.cc
|
| +++ b/content/browser/presentation/presentation_type_converters.cc
|
| @@ -12,32 +12,32 @@ 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_CONNECTING:
|
| - return presentation::PRESENTATION_CONNECTION_STATE_CONNECTING;
|
| + return presentation::PresentationConnectionState::CONNECTING;
|
| 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
|
|
|