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

Unified Diff: webkit/tools/test_shell/test_web_worker.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/webworkerclient_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_web_worker.h
diff --git a/webkit/tools/test_shell/test_web_worker.h b/webkit/tools/test_shell/test_web_worker.h
index 9c23ccceaf2719004a57b77369d4bf0465dc17b0..4e7e6fb4462a66d331e88f3e9beeae913da27368 100644
--- a/webkit/tools/test_shell/test_web_worker.h
+++ b/webkit/tools/test_shell/test_web_worker.h
@@ -11,6 +11,16 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebWorker.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;
@@ -37,7 +47,7 @@ class TestWebWorker : public WebKit::WebWorker,
}
virtual void postMessageToWorkerContext(
const WebKit::WebString& message,
- const WebKit::WebMessagePortChannelArray& channel) {
+ const WebKit::WebTransferableReceiptArray& receipts) {
}
virtual void workerObjectDestroyed();
virtual void clientDestroyed() {
@@ -46,7 +56,7 @@ class TestWebWorker : public WebKit::WebWorker,
// WebWorkerClient methods:
virtual void postMessageToWorkerObject(
const WebKit::WebString& message,
- const WebKit::WebMessagePortChannelArray& channel) {
+ const WebKit::WebTransferableReceiptArray& receipts) {
}
virtual void postExceptionToWorkerObject(
const WebKit::WebString& error_message,
« no previous file with comments | « content/worker/webworkerclient_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698