summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworkerrepository_impl.h
blob: d8cec99401140bcea29d911a110c79a3dafb59fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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 "third_party/WebKit/WebKit/chromium/public/WebSharedWorkerRepository.h"

namespace WebKit {
  class WebSharedWorker;
}

class WebSharedWorkerRepositoryImpl : public WebKit::WebSharedWorkerRepository {
    virtual void addSharedWorker(WebKit::WebSharedWorker*, DocumentID document);
    virtual void documentDetached(DocumentID document);
    virtual bool hasSharedWorkers(DocumentID document);
};

#endif  // CHROME_RENDERER_WEB_SHARED_WORKER_REPOSITORY_IMPL_H_