Index: content/common/webmessageportchannel_impl.h |
diff --git a/content/common/webmessageportchannel_impl.h b/content/common/webmessageportchannel_impl.h |
index adde1a4f2b4123a0d1d9c68f734d364a6cf05534..b3533335fa942c6e4e320804d7d0ed88e083af9a 100644 |
--- a/content/common/webmessageportchannel_impl.h |
+++ b/content/common/webmessageportchannel_impl.h |
@@ -16,6 +16,16 @@ |
#include "ipc/ipc_channel.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebMessagePortChannel.h" |
+#ifndef WebTransferableReceipt_h |
+#ifndef STUB_WebTransferableReceipt_h |
+#define STUB_WebTransferableReceipt_h |
+namespace WebKit { |
+typedef WebMessagePortChannel WebTransferableReceipt; |
+typedef WebVector<WebTransferableReceipt*> WebTransferableReceiptArray; |
+} // namespace WebKit |
+#endif // STUB_WebTransferableReceipt_h |
+#endif // WebTransferableReceipt_h |
+ |
// This is thread safe. |
class WebMessagePortChannelImpl |
: public WebKit::WebMessagePortChannel, |
@@ -39,9 +49,9 @@ class WebMessagePortChannelImpl |
virtual void destroy(); |
virtual void entangle(WebKit::WebMessagePortChannel* channel); |
virtual void postMessage(const WebKit::WebString& message, |
- WebKit::WebMessagePortChannelArray* channels); |
+ WebKit::WebTransferableReceiptArray* receipts); |
virtual bool tryGetMessage(WebKit::WebString* message, |
- WebKit::WebMessagePortChannelArray& channels); |
+ WebKit::WebTransferableReceiptArray& receipts); |
void Init(); |
void Entangle(scoped_refptr<WebMessagePortChannelImpl> channel); |