OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ | 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ |
6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ | 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "third_party/WebKit/public/platform/WebServiceWorker.h" | 9 #include "third_party/WebKit/public/platform/WebServiceWorker.h" |
10 #include "third_party/WebKit/public/web/WebFrame.h" | 10 #include "third_party/WebKit/public/web/WebFrame.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class WebServiceWorkerImpl | 14 class WebServiceWorkerImpl |
15 : NON_EXPORTED_BASE(public WebKit::WebServiceWorker) { | 15 : NON_EXPORTED_BASE(public blink::WebServiceWorker) { |
16 public: | 16 public: |
17 explicit WebServiceWorkerImpl(int64 service_worker_id) | 17 explicit WebServiceWorkerImpl(int64 service_worker_id) |
18 : service_worker_id_(service_worker_id) {} | 18 : service_worker_id_(service_worker_id) {} |
19 virtual ~WebServiceWorkerImpl(); | 19 virtual ~WebServiceWorkerImpl(); |
20 | 20 |
21 private: | 21 private: |
22 int64 service_worker_id_; | 22 int64 service_worker_id_; |
23 | 23 |
24 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl); | 24 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl); |
25 }; | 25 }; |
26 | 26 |
27 } // namespace content | 27 } // namespace content |
28 | 28 |
29 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ | 29 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ |
OLD | NEW |