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