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

Unified Diff: content/common/webmessageportchannel_impl.h

Issue 7477027: Support Transferable objects (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase. Created 9 years, 5 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
« no previous file with comments | « no previous file | content/common/webmessageportchannel_impl.cc » ('j') | content/renderer/webworker_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/webmessageportchannel_impl.h
diff --git a/content/common/webmessageportchannel_impl.h b/content/common/webmessageportchannel_impl.h
index adde1a4f2b4123a0d1d9c68f734d364a6cf05534..7f95a22e25684ad36c3470693a6622b4f68c45e8 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 WebTransferable_h
+#ifndef STUB_WebTransferable_h
+#define STUB_WebTransferable_h
+namespace WebKit {
+typedef WebMessagePortChannel WebTransferableReceipt;
jam 2011/08/01 06:24:56 I'm curious how these WebKit names have been picke
+typedef WebVector<WebTransferableReceipt*> WebTransferableReceiptArray;
+} // namespace WebKit
+#endif // STUB_WebTransferable_h
+#endif // WebTransferable_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);
« no previous file with comments | « no previous file | content/common/webmessageportchannel_impl.cc » ('j') | content/renderer/webworker_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698