| Index: content/renderer/presentation/test_presentation_connection.h
|
| diff --git a/content/renderer/presentation/test_presentation_connection.h b/content/renderer/presentation/test_presentation_connection.h
|
| index b7518b68870014c6f4cd644b15f86ae697dc1388..cd327fdc549919e03ed23d9baf18d1fe0aa3f74e 100644
|
| --- a/content/renderer/presentation/test_presentation_connection.h
|
| +++ b/content/renderer/presentation/test_presentation_connection.h
|
| @@ -10,6 +10,11 @@
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "third_party/WebKit/public/platform/modules/presentation/WebPresentationConnection.h"
|
|
|
| +namespace blink {
|
| +enum class WebPresentationConnectionCloseReason;
|
| +class WebString;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class TestPresentationConnection : public blink::WebPresentationConnection {
|
| @@ -24,6 +29,9 @@ class TestPresentationConnection : public blink::WebPresentationConnection {
|
| MOCK_METHOD2(didReceiveBinaryMessage,
|
| void(const uint8_t* data, size_t length));
|
| MOCK_METHOD1(didChangeState, void(blink::WebPresentationConnectionState));
|
| + MOCK_METHOD2(didClose,
|
| + void(blink::WebPresentationConnectionCloseReason,
|
| + const blink::WebString& message));
|
|
|
| blink::WebPresentationConnectionProxy* proxy();
|
|
|
|
|