OLD | NEW |
(Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRY_PROXY_H_ |
| 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRY_PROXY_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "third_party/WebKit/public/platform/WebServiceWorkerRegistry.h" |
| 10 #include "third_party/WebKit/public/web/WebFrame.h" |
| 11 |
| 12 namespace WebKit { |
| 13 class WebString; |
| 14 class WebURL; |
| 15 } |
| 16 |
| 17 namespace IPC { |
| 18 class Sender; |
| 19 } |
| 20 |
| 21 namespace content { |
| 22 |
| 23 class WebServiceWorkerRegistryImpl |
| 24 : NON_EXPORTED_BASE(public WebKit::WebServiceWorkerRegistry) { |
| 25 public: |
| 26 WebServiceWorkerRegistryImpl() {} |
| 27 virtual ~WebServiceWorkerRegistryImpl(); |
| 28 |
| 29 virtual void registerServiceWorker(const WebKit::WebString& pattern, |
| 30 const WebKit::WebURL& scriptUrl, |
| 31 WebServiceWorkerCallbacks*); |
| 32 |
| 33 virtual void unregisterServiceWorker(const WebKit::WebString& pattern, |
| 34 WebServiceWorkerCallbacks*); |
| 35 }; |
| 36 |
| 37 } // namespace content |
| 38 |
| 39 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRY_PROXY_H_ |
OLD | NEW |