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 "third_party/WebKit/WebKit/chromium/public/WebSharedWorkerRepository.h" |
9 | 9 |
10 namespace WebKit { | 10 namespace WebKit { |
11 class WebSharedWorker; | 11 class WebSharedWorker; |
12 } | 12 } |
13 | 13 |
14 class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository { | 14 class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository { |
15 virtual void addSharedWorker(WebKit::WebSharedWorker*, DocumentID document); | 15 virtual void addSharedWorker(WebKit::WebSharedWorker*, DocumentID document); |
16 virtual void documentDetached(DocumentID document); | 16 virtual void documentDetached(DocumentID document); |
17 virtual bool hasSharedWorkers(DocumentID document); | 17 virtual bool hasSharedWorkers(DocumentID document); |
18 }; | 18 }; |
19 | 19 |
20 #endif // CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_ | 20 #endif // CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_ |
OLD | NEW |