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 CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ | 5 #ifndef CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ |
6 #define CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ | 6 #define CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "chrome/common/ipc_channel.h" | |
10 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
| 10 #include "ipc/ipc_channel.h" |
11 #include "webkit/api/public/WebWorkerClient.h" | 11 #include "webkit/api/public/WebWorkerClient.h" |
12 | 12 |
13 namespace WebKit { | 13 namespace WebKit { |
14 class WebWorker; | 14 class WebWorker; |
15 } | 15 } |
16 | 16 |
17 // This class receives IPCs from the renderer and calls the WebCore::Worker | 17 // This class receives IPCs from the renderer and calls the WebCore::Worker |
18 // implementation (after the data types have been converted by glue code). It | 18 // implementation (after the data types have been converted by glue code). It |
19 // is also called by the worker code and converts these function calls into | 19 // is also called by the worker code and converts these function calls into |
20 // IPCs that are sent to the renderer, where they're converted back to function | 20 // IPCs that are sent to the renderer, where they're converted back to function |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 GURL url_; | 57 GURL url_; |
58 | 58 |
59 int route_id_; | 59 int route_id_; |
60 | 60 |
61 WebKit::WebWorker* impl_; | 61 WebKit::WebWorker* impl_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy); | 63 DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy); |
64 }; | 64 }; |
65 | 65 |
66 #endif // CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ | 66 #endif // CHROME_WORKER_WEBWORKERCLIENT_PROXY_H_ |
OLD | NEW |