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

Unified Diff: content/renderer/presentation/presentation_connection_proxy.h

Issue 2706463002: [Presentation API] Mojo typemap for content::PresentationConnectionMessage (Closed)
Patch Set: Respond to dcheng@ comments Created 3 years, 10 months 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/renderer/presentation/presentation_connection_proxy.h
diff --git a/content/renderer/presentation/presentation_connection_proxy.h b/content/renderer/presentation/presentation_connection_proxy.h
index 6c70527704316e552fb0dd1acb8e447d30462f28..6d5a62b420660306f763d0b3f74fe5febc9d264e 100644
--- a/content/renderer/presentation/presentation_connection_proxy.h
+++ b/content/renderer/presentation/presentation_connection_proxy.h
@@ -6,6 +6,7 @@
#define CONTENT_RENDERER_PRESENTATION_PRESENTATION_CONNECTION_PROXY_H_
#include "base/callback.h"
+#include "content/public/common/presentation_connection_message.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h"
#include "third_party/WebKit/public/platform/modules/presentation/presentation.mojom.h"
@@ -74,12 +75,11 @@ class CONTENT_EXPORT PresentationConnectionProxy
~PresentationConnectionProxy() override;
- virtual void SendConnectionMessage(
- blink::mojom::ConnectionMessagePtr connection_message,
- const OnMessageCallback& callback) const;
+ virtual void SendConnectionMessage(PresentationConnectionMessage message,
+ const OnMessageCallback& callback) const;
// blink::mojom::PresentationConnection implementation
- void OnMessage(blink::mojom::ConnectionMessagePtr message,
+ void OnMessage(PresentationConnectionMessage message,
const OnMessageCallback& callback) override;
void DidChangeState(content::PresentationConnectionState state) override;

Powered by Google App Engine
This is Rietveld 408576698