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..f092ced397e4000122ac5efb5dec714b73119018 |
--- /dev/null |
+++ b/content/child/service_worker/web_service_worker_impl.h |
@@ -0,0 +1,29 @@ |
+// 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_IMPL_H_ |
+#define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_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(int64 service_worker_id) |
michaeln
2013/10/24 23:03:59
explicit keyword here
alecflett
2013/10/25 18:22:50
Done.
|
+ : service_worker_id_(service_worker_id) {} |
+ virtual ~WebServiceWorkerImpl(); |
+ |
+ private: |
+ int64 service_worker_id_ ALLOW_UNUSED; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ |