OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEB_WORKER_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEB_WORKER_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEB_WORKER_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEB_WORKER_H_ |
7 | 7 |
8 #if ENABLE(WORKERS) | 8 #if ENABLE(WORKERS) |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "webkit/api/public/WebMessagePortChannel.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebMessagePortChannel.h" |
13 #include "webkit/api/public/WebWorker.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebWorker.h" |
14 #include "webkit/api/public/WebWorkerClient.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebWorkerClient.h" |
15 | 15 |
16 namespace WebKit { | 16 namespace WebKit { |
17 class WebNotificationPresenter; | 17 class WebNotificationPresenter; |
18 class WebString; | 18 class WebString; |
19 class WebURL; | 19 class WebURL; |
20 } | 20 } |
21 | 21 |
22 class TestWebWorker : public WebKit::WebWorker, | 22 class TestWebWorker : public WebKit::WebWorker, |
23 public WebKit::WebWorkerClient, | 23 public WebKit::WebWorkerClient, |
24 public base::RefCounted<TestWebWorker> { | 24 public base::RefCounted<TestWebWorker> { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 friend class base::RefCounted<TestWebWorker>; | 81 friend class base::RefCounted<TestWebWorker>; |
82 | 82 |
83 ~TestWebWorker() {} | 83 ~TestWebWorker() {} |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(TestWebWorker); | 85 DISALLOW_COPY_AND_ASSIGN(TestWebWorker); |
86 }; | 86 }; |
87 | 87 |
88 #endif | 88 #endif |
89 | 89 |
90 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEB_WORKER_H_ | 90 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEB_WORKER_H_ |
OLD | NEW |