Index: third_party/WebKit/public/platform/WebMessagePortChannel.h |
diff --git a/third_party/WebKit/public/platform/WebMessagePortChannel.h b/third_party/WebKit/public/platform/WebMessagePortChannel.h |
index 857155329e1651580016fffe2c1d6247d3a79412..b1617ec35d7c02d53ee1c731d8572aab3c9ac908 100644 |
--- a/third_party/WebKit/public/platform/WebMessagePortChannel.h |
+++ b/third_party/WebKit/public/platform/WebMessagePortChannel.h |
@@ -31,9 +31,11 @@ |
#ifndef WebMessagePortChannel_h |
#define WebMessagePortChannel_h |
+#include <memory> |
+ |
#include "WebCommon.h" |
#include "WebVector.h" |
-#include <memory> |
+#include "mojo/public/cpp/system/handle.h" |
namespace blink { |
@@ -51,8 +53,12 @@ class WebMessagePortChannel { |
virtual void setClient(WebMessagePortChannelClient*) = 0; |
// Callee receives ownership of the passed vector. |
// FIXME: Blob refs should be passed to maintain ref counts. crbug.com/351753 |
- virtual void postMessage(const WebString&, WebMessagePortChannelArray) = 0; |
- virtual bool tryGetMessage(WebString*, WebMessagePortChannelArray&) = 0; |
+ virtual void postMessage(const WebString&, |
+ WebMessagePortChannelArray, |
+ WebVector<mojo::ScopedHandle>) = 0; |
+ virtual bool tryGetMessage(WebString*, |
+ WebMessagePortChannelArray&, |
+ WebVector<mojo::ScopedHandle>&) = 0; |
}; |
} // namespace blink |