blob: a0cda6d0a713ed8b7b1b0beaaec46b7eaa2da66a [file] [log] [blame]
[email protected]ab3505362009-10-30 18:11:471// 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]30a71872009-10-31 16:09:2110namespace WebKit {
11 class WebSharedWorker;
12}
[email protected]ab3505362009-10-30 18:11:4713
14class 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_