[Presentation API] Remove content::PresentationConnectionState.

Further replacement of a content:: enum with a blink::mojom enum for the
Presentation API.  No behavioral changes.

Bug: 817903
Change-Id: I66fc39db2e8f1e2220aa293e81a77b61d1f69c03
Reviewed-on: https://chromium-review.googlesource.com/1015289
Commit-Queue: mark a. foltz <[email protected]>
Reviewed-by: Will Harris <[email protected]>
Reviewed-by: Dmitry Gozman <[email protected]>
Reviewed-by: Derek Cheng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#552872}
diff --git a/content/browser/presentation/presentation_service_impl_unittest.cc b/content/browser/presentation/presentation_service_impl_unittest.cc
index ff19d75..c258db1 100644
--- a/content/browser/presentation/presentation_service_impl_unittest.cc
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc
@@ -26,6 +26,7 @@
 #include "testing/gmock/include/gmock/gmock.h"
 
 using blink::mojom::PresentationConnectionCloseReason;
+using blink::mojom::PresentationConnectionState;
 using blink::mojom::PresentationError;
 using blink::mojom::PresentationErrorType;
 using blink::mojom::ScreenAvailability;
@@ -489,9 +490,9 @@
 
   EXPECT_CALL(mock_controller_, OnConnectionStateChanged(
                                     InfoEquals(presentation_connection),
-                                    PRESENTATION_CONNECTION_STATE_TERMINATED));
+                                    PresentationConnectionState::TERMINATED));
   state_changed_cb.Run(PresentationConnectionStateChangeInfo(
-      PRESENTATION_CONNECTION_STATE_TERMINATED));
+      PresentationConnectionState::TERMINATED));
   base::RunLoop().RunUntilIdle();
 }
 
@@ -506,7 +507,7 @@
   // |mock_controller_|.
   PresentationInfo presentation_connection(presentation_url1_, kPresentationId);
   PresentationConnectionStateChangeInfo closed_info(
-      PRESENTATION_CONNECTION_STATE_CLOSED);
+      PresentationConnectionState::CLOSED);
   closed_info.close_reason = PresentationConnectionCloseReason::WENT_AWAY;
   closed_info.message = "Foo";