| Index: webkit/tools/test_shell/test_web_worker.h
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_web_worker.h (revision 45253)
|
| +++ webkit/tools/test_shell/test_web_worker.h (working copy)
|
| @@ -12,11 +12,15 @@
|
| #include "third_party/WebKit/WebKit/chromium/public/WebWorkerClient.h"
|
|
|
| namespace WebKit {
|
| +class WebApplicationCacheHost;
|
| +class WebApplicationCacheHostClient;
|
| class WebNotificationPresenter;
|
| class WebString;
|
| class WebURL;
|
| }
|
|
|
| +// WebWorkers are not functional in test_shell. This class effectively
|
| +// stubs things out.
|
| class TestWebWorker : public WebKit::WebWorker,
|
| public WebKit::WebWorkerClient,
|
| public base::RefCounted<TestWebWorker> {
|
| @@ -74,6 +78,10 @@
|
| virtual WebKit::WebNotificationPresenter* notificationPresenter() {
|
| return NULL;
|
| }
|
| + virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
|
| + WebKit::WebApplicationCacheHostClient*) {
|
| + return NULL;
|
| + }
|
|
|
| private:
|
| friend class base::RefCounted<TestWebWorker>;
|
|
|