Index: content/worker/content_worker_client.h |
diff --git a/content/worker/content_worker_client.h b/content/worker/content_worker_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b5a8b200908d670b72d2e0ea89737cabec1dcc69 |
--- /dev/null |
+++ b/content/worker/content_worker_client.h |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_ |
+#define CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_ |
+#pragma once |
+ |
+class WebWorkerBase; |
+class WebWorkerStub; |
+ |
+namespace WebKit { |
+class WebWorker; |
+class WebWorkerClient; |
+} |
+ |
+namespace content { |
+ |
+// Embedder API for participating in worker logic. |
+class ContentWorkerClient { |
+ public: |
+ // Notifies us that the WebWorkerStub has been created. |
+ virtual void WebWorkerStubCreated(WebWorkerStub*, WebKit::WebWorker*, |
+ int route_id); |
+ 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.
|
+ WebKit::WebWorkerClient*); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_WORKER_CONTENT_WORKER_CLIENT_H_ |