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

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

Issue 2706463002: [Presentation API] Mojo typemap for content::PresentationConnectionMessage (Closed)
Patch Set: Fix compile error after rebase 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 7eb60f281bc51cdea7e56346bec3468b326a07fc..6c77c6026c61aac0096eda103c7e772d7c5cbc0d 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;
void OnClose() override;
« no previous file with comments | « content/public/common/presentation_constants.cc ('k') | content/renderer/presentation/presentation_connection_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698