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

Unified Diff: content/child/service_worker/web_service_worker_impl.h

Issue 25008006: Flush out initial [un]registerServiceWorker roundtrip (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update to ToT 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 side-by-side diff with in-line comments
Download patch
Index: content/child/service_worker/web_service_worker_impl.h
diff --git a/content/child/service_worker/web_service_worker_impl.h b/content/child/service_worker/web_service_worker_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..ba3ca9d1b7b5588b9c91ee9eea91d505c285bbc9
--- /dev/null
+++ b/content/child/service_worker/web_service_worker_impl.h
@@ -0,0 +1,30 @@
+// 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_PROXY_H_
+#define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROXY_H_
+
+#include "base/compiler_specific.h"
+#include "third_party/WebKit/public/platform/WebServiceWorker.h"
+#include "third_party/WebKit/public/web/WebFrame.h"
+
+namespace content {
+
+class WebServiceWorkerImpl
+ : NON_EXPORTED_BASE(public WebKit::WebServiceWorker) {
+ public:
+ WebServiceWorkerImpl(int32 service_worker_id, bool registered)
+ : service_worker_id_(service_worker_id), registered_(registered) {}
+ virtual ~WebServiceWorkerImpl();
+
+ private:
+ int32 service_worker_id_ ALLOW_UNUSED;
+ bool registered_ ALLOW_UNUSED;
+
+ DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROXY_H_

Powered by Google App Engine
This is Rietveld 408576698