| Index: content/child/service_worker/web_service_worker_registry_proxy.h
|
| diff --git a/content/child/service_worker/web_service_worker_registry_proxy.h b/content/child/service_worker/web_service_worker_registry_proxy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1f2c5f7eadc9933a30fc7c37ed4f884a76aa0367
|
| --- /dev/null
|
| +++ b/content/child/service_worker/web_service_worker_registry_proxy.h
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2013 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_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRY_PROXY_H_
|
| +#define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRY_PROXY_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "third_party/WebKit/public/platform/WebServiceWorkerRegistry.h"
|
| +#include "third_party/WebKit/public/web/WebFrame.h"
|
| +
|
| +namespace WebKit {
|
| +class WebString;
|
| +class WebURL;
|
| +}
|
| +
|
| +namespace IPC {
|
| +class Sender;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +class WebServiceWorkerRegistryImpl
|
| + : NON_EXPORTED_BASE(public WebKit::WebServiceWorkerRegistry) {
|
| + public:
|
| + WebServiceWorkerRegistryImpl() {}
|
| + virtual ~WebServiceWorkerRegistryImpl();
|
| +
|
| + virtual void registerServiceWorker(const WebKit::WebString& pattern,
|
| + const WebKit::WebURL& scriptUrl,
|
| + WebServiceWorkerCallbacks*);
|
| +
|
| + virtual void unregisterServiceWorker(const WebKit::WebString& pattern,
|
| + WebServiceWorkerCallbacks*);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRY_PROXY_H_
|
|
|