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

Unified Diff: content/worker/webworkerclient_proxy.h

Issue 7477027: Support Transferable objects (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update for interface changes. 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/worker/webworker_stub.cc ('k') | content/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/webworkerclient_proxy.h
diff --git a/content/worker/webworkerclient_proxy.h b/content/worker/webworkerclient_proxy.h
index 31c0340d86f4fdc9096ad16cb3b6d533106ac3ba..1b05d358e6ed57c10705bb4c243d6830ae3b5d41 100644
--- a/content/worker/webworkerclient_proxy.h
+++ b/content/worker/webworkerclient_proxy.h
@@ -12,6 +12,16 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWorkerClient.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
+
namespace WebKit {
class WebApplicationCacheHost;
class WebApplicationCacheHostClient;
@@ -35,7 +45,7 @@ class WebWorkerClientProxy : public WebKit::WebWorkerClient {
// WebWorkerClient implementation.
virtual void postMessageToWorkerObject(
const WebKit::WebString& message,
- const WebKit::WebMessagePortChannelArray& channel);
+ const WebKit::WebTransferableReceiptArray& receipts);
virtual void postExceptionToWorkerObject(
const WebKit::WebString& error_message,
int line_number,
« no previous file with comments | « content/worker/webworker_stub.cc ('k') | content/worker/webworkerclient_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698