Chromium Code Reviews| Index: chrome/worker/chrome_content_worker_client.h |
| diff --git a/chrome/worker/chrome_content_worker_client.h b/chrome/worker/chrome_content_worker_client.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cc5f708ccdac2f898612d630a52ff575346db8c8 |
| --- /dev/null |
| +++ b/chrome/worker/chrome_content_worker_client.h |
| @@ -0,0 +1,30 @@ |
| +// 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 CHROME_WORKER_CHROME_CONTENT_WORKER_CLIENT_H_ |
| +#define CHROME_WORKER_CHROME_CONTENT_WORKER_CLIENT_H_ |
| +#pragma once |
| + |
| +#include "content/worker/content_worker_client.h" |
| + |
| +namespace WebKit { |
| +class WebWorkerClient; |
|
jam
2011/05/24 20:21:31
nit: not needed
|
| +} |
| + |
| +namespace chrome { |
| + |
| +class ChromeContentWorkerClient : public content::ContentWorkerClient { |
| + public: |
| + ChromeContentWorkerClient(); |
| + virtual ~ChromeContentWorkerClient(); |
| + |
| + virtual void WebWorkerStubCreated(WebWorkerStub*, WebKit::WebWorker*, |
| + int route_id); |
| + virtual void WebWorkerProxyCreated(WebWorkerBase*, int route_id, |
| + WebKit::WebWorkerClient*); |
| +}; |
| + |
| +} // namespace chrome |
| + |
| +#endif // CHROME_WORKER_CHROME_CONTENT_WORKER_CLIENT_H_ |