Chromium Code Reviews| Index: content/child/service_worker/web_service_worker_proxy.h |
| diff --git a/content/child/service_worker/web_service_worker_proxy.h b/content/child/service_worker/web_service_worker_proxy.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..008a9593627280dd6acfd30d734f80e2603ecbb2 |
| --- /dev/null |
| +++ b/content/child/service_worker/web_service_worker_proxy.h |
| @@ -0,0 +1,28 @@ |
| +// 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 |
|
michaeln
2013/09/30 23:41:27
The name of the class vs the name of the file is c
alecflett
2013/10/01 00:17:04
I agree but I'm running out of names for things th
kinuko
2013/10/01 07:48:11
Doesn't just a webserviceworker_impl.{cc,h} work?
|
| + : NON_EXPORTED_BASE(public WebKit::WebServiceWorker) { |
| + public: |
| + WebServiceWorkerImpl(int32 worker_id, bool registered) |
| + : worker_id_(worker_id), registered_(registered) {} |
| + virtual ~WebServiceWorkerImpl(); |
| + |
|
kinuko
2013/09/30 12:41:17
Not directly related to this CL, but if you guys h
alecflett
2013/10/01 00:17:04
This needs to be flushed out on github, here's whe
kinuko
2013/10/01 07:48:11
Thanks!
|
| + private: |
| + int32 worker_id_ ALLOW_UNUSED; |
| + bool registered_ ALLOW_UNUSED; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_PROXY_H_ |