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

Unified Diff: content/renderer/webworker_proxy.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
Index: content/renderer/webworker_proxy.h
diff --git a/content/renderer/webworker_proxy.h b/content/renderer/webworker_proxy.h
index fea3811fc2db9b44cf526703f049024c7828284a..6ad3a0f254aebe147dad4524ce441fc72f24295f 100644
--- a/content/renderer/webworker_proxy.h
+++ b/content/renderer/webworker_proxy.h
@@ -13,6 +13,16 @@
#include "ipc/ipc_channel.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWorker.h"
+#ifndef WebTransferable_h
+#ifndef STUB_WebTransferable_h
+#define STUB_WebTransferable_h
+namespace WebKit {
+typedef WebMessagePortChannel WebTransferableReceipt;
+typedef WebVector<WebTransferableReceipt*> WebTransferableReceiptArray;
+} // namespace WebKit
+#endif // STUB_WebTransferable_h
+#endif // WebTransferable_h
+
class ChildThread;
class GURL;
class RenderView;
@@ -38,7 +48,7 @@ class WebWorkerProxy : public WebKit::WebWorker, private WebWorkerBase {
virtual void terminateWorkerContext();
virtual void postMessageToWorkerContext(
const WebKit::WebString& message,
- const WebKit::WebMessagePortChannelArray& channel_array);
+ const WebKit::WebTransferableReceiptArray& receipts);
virtual void workerObjectDestroyed();
virtual void clientDestroyed();

Powered by Google App Engine
This is Rietveld 408576698