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

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

Issue 2706463002: [Presentation API] Mojo typemap for content::PresentationConnectionMessage (Closed)
Patch Set: Remove TODO 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..29e6d6bc58ad7e0a71fe5422c9f05f5fa1956c16 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"
@@ -75,11 +76,11 @@ class CONTENT_EXPORT PresentationConnectionProxy
~PresentationConnectionProxy() override;
virtual void SendConnectionMessage(
- blink::mojom::ConnectionMessagePtr connection_message,
+ const PresentationConnectionMessage& message,
const OnMessageCallback& callback) const;
// blink::mojom::PresentationConnection implementation
- void OnMessage(blink::mojom::ConnectionMessagePtr message,
+ void OnMessage(const PresentationConnectionMessage& message,
const OnMessageCallback& callback) override;
void DidChangeState(content::PresentationConnectionState state) override;

Powered by Google App Engine
This is Rietveld 408576698