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

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, 4 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 | « content/renderer/webworker_base.cc ('k') | content/renderer/webworker_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webworker_proxy.h
diff --git a/content/renderer/webworker_proxy.h b/content/renderer/webworker_proxy.h
index fea3811fc2db9b44cf526703f049024c7828284a..1907ec0c1f98a49950c95df452812dfb8477c033 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 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
+
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();
« no previous file with comments | « content/renderer/webworker_base.cc ('k') | content/renderer/webworker_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698