| Index: content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| diff --git a/content/renderer/presentation/presentation_connection_proxy_unittest.cc b/content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| index 189beb4931ccdf1fea7977e13d864c3179a8f12a..14b2467a4cbdec1784e64ca8db53241099f0779d 100644
|
| --- a/content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| +++ b/content/renderer/presentation/presentation_connection_proxy_unittest.cc
|
| @@ -118,4 +118,14 @@ TEST_F(PresentationConnectionProxyTest, TestReceiverConnectionCallsClose) {
|
| run_loop.RunUntilIdle();
|
| }
|
|
|
| +TEST_F(PresentationConnectionProxyTest, TestReceiverNotifyTargetConnection) {
|
| + base::RunLoop run_loop;
|
| + EXPECT_CALL(
|
| + *controller_connection_,
|
| + DidChangeState(blink::WebPresentationConnectionState::kTerminated));
|
| + receiver_connection_proxy_->NotifyTargetConnection(
|
| + blink::WebPresentationConnectionState::kTerminated);
|
| + run_loop.RunUntilIdle();
|
| +}
|
| +
|
| } // namespace content
|
|
|