Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(445)

Side by Side Diff: content/child/service_worker/web_service_worker_registry_proxy.h

Issue 25008006: Flush out initial [un]registerServiceWorker roundtrip (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698