Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_ | |
| 6 #define CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 class WebWorkerBase; | |
| 10 class WebWorkerStub; | |
| 11 | |
| 12 namespace WebKit { | |
| 13 class WebWorker; | |
| 14 class WebWorkerClient; | |
| 15 } | |
| 16 | |
| 17 namespace content { | |
| 18 | |
| 19 // Embedder API for participating in worker logic. | |
| 20 class ContentWorkerClient { | |
| 21 public: | |
| 22 // Notifies us that the WebWorkerStub has been created. | |
| 23 virtual void WebWorkerStubCreated(WebWorkerStub*, WebKit::WebWorker*, | |
| 24 int route_id); | |
| 25 virtual void WebWorkerProxyCreated(WebWorkerBase*, int route_id, | |
|
jam
2011/05/24 20:21:31
nit comment
Dmitry Titov
2011/05/25 01:38:44
I'd remove the comment on the previous method - it
yurys
2011/05/25 17:28:29
This file has been removed.
| |
| 26 WebKit::WebWorkerClient*); | |
| 27 }; | |
| 28 | |
| 29 } // namespace content | |
| 30 | |
| 31 #endif // CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_ | |
| OLD | NEW |