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

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: PresentationConnectionProxy::Send() will be invoked from PresentationDispatcher 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 a6b73f960c69537af0a20c2f12b9393089217e77..578409f06425ea8178c18344606342bf7da1d117 100644
--- a/content/browser/presentation/presentation_service_impl_unittest.cc
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc
@@ -194,11 +194,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') | third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698