[email protected] | ab350536 | 2009-10-30 18:11:47 | [diff] [blame] | 1 | // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 | // source code is governed by a BSD-style license that can be found in the |
| 3 | // LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_ |
| 6 | #define CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_ |
| 7 | |
| 8 | #include "webkit/api/public/WebSharedWorkerRepository.h" |
| 9 | |
[email protected] | 30a7187 | 2009-10-31 16:09:21 | [diff] [blame^] | 10 | namespace WebKit { |
| 11 | class WebSharedWorker; |
| 12 | } |
[email protected] | ab350536 | 2009-10-30 18:11:47 | [diff] [blame] | 13 | |
| 14 | class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository { |
| 15 | virtual WebKit::WebSharedWorker* lookup(const WebKit::WebURL& url, |
| 16 | const WebKit::WebString& name, |
| 17 | DocumentID document); |
| 18 | |
| 19 | virtual void documentDetached(DocumentID document); |
| 20 | |
| 21 | virtual bool hasSharedWorkers(DocumentID document); |
| 22 | }; |
| 23 | |
| 24 | #endif // CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_ |