| Index: content/browser/worker_host/shared_worker_host.h
|
| diff --git a/content/browser/worker_host/shared_worker_host.h b/content/browser/worker_host/shared_worker_host.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8db066e34d41a482f9a1e7f234e19fa9b63e9514
|
| --- /dev/null
|
| +++ b/content/browser/worker_host/shared_worker_host.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2014 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 CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_HOST_H_
|
| +#define CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_HOST_H_
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +
|
| +#include "content/browser/worker_host/shared_worker_instance.h"
|
| +
|
| +namespace content {
|
| +
|
| +// If "enable-embedded-shared-worker" is set this class will be used in stead of
|
| +// WorkerProcessHost.
|
| +// TODO(horo): implement this class.
|
| +class SharedWorkerHost {
|
| + public:
|
| + SharedWorkerHost(SharedWorkerInstance* instance);
|
| + virtual ~SharedWorkerHost();
|
| +
|
| + private:
|
| + scoped_ptr<SharedWorkerInstance> instance_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(SharedWorkerHost);
|
| +};
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_WORKER_HOST_SHARED_WORKER_HOST_H_
|
|
|