Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Unified Diff: content/browser/presentation/presentation_service_impl_unittest.cc

Issue 2471263003: [Presentation API] (4th)(1-UA blink side) Add WebPresentationConnection and WebPresentationConnecti… (Closed)
Patch Set: rebase and resolve code review comments from haraken Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/presentation/presentation_service_impl_unittest.cc
diff --git a/content/browser/presentation/presentation_service_impl_unittest.cc b/content/browser/presentation/presentation_service_impl_unittest.cc
index a2ce915fc5b0c9ff579bd976321a853d85da5bb9..4cf51bc320ace9a32949fa78a5d65177d03b8e5c 100644
--- a/content/browser/presentation/presentation_service_impl_unittest.cc
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc
@@ -193,11 +193,14 @@ class MockPresentationConnection : public blink::mojom::PresentationConnection {
MOCK_METHOD1(SetTargetConnection,
void(blink::mojom::PresentationConnection& connection));
- void OnMessage(blink::mojom::SessionMessagePtr message) override {
+ void OnMessage(blink::mojom::SessionMessagePtr message,
+ const base::Callback<void(bool)>& send_message_cb) override {
OnConnectionMessageReceived(*message);
}
MOCK_METHOD1(OnConnectionMessageReceived,
void(const blink::mojom::SessionMessage& message));
+ MOCK_METHOD1(DidChangeState,
+ void(blink::mojom::PresentationConnectionState state));
};
class MockPresentationServiceClient
« no previous file with comments | « no previous file | content/renderer/BUILD.gn » ('j') | content/renderer/presentation/presentation_connection_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698