Chromium Code Reviews| 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..c585b55f0c0522375c0c3e1fd0d2d57f5ba43c3d |
| --- /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_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, bool registered) |
|
michaeln
2013/10/24 21:57:39
since registered is always 'true', can we remove t
alecflett
2013/10/24 22:41:22
Done.
|
| + : service_worker_id_(service_worker_id), registered_(registered) {} |
| + virtual ~WebServiceWorkerImpl(); |
| + |
| + private: |
| + int64 service_worker_id_ ALLOW_UNUSED; |
| + bool registered_ ALLOW_UNUSED; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ |