summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworkerrepository_impl.h
blob: a0cda6d0a713ed8b7b1b0beaaec46b7eaa2da66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2009 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_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_
#define CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_

#include "webkit/api/public/WebSharedWorkerRepository.h"

namespace WebKit {
  class WebSharedWorker;
}

class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository {
    virtual WebKit::WebSharedWorker* lookup(const WebKit::WebURL& url,
                                            const WebKit::WebString& name,
                                            DocumentID document);

    virtual void documentDetached(DocumentID document);

    virtual bool hasSharedWorkers(DocumentID document);
};

#endif  // CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_