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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698