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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
14 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" | 15 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" |
15 #include "third_party/WebKit/public/platform/WebPassOwnPtr.h" | 16 #include "third_party/WebKit/public/platform/WebPassOwnPtr.h" |
16 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
ker.h" | 17 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
ker.h" |
17 #include "third_party/WebKit/public/web/WebFrame.h" | 18 #include "third_party/WebKit/public/web/WebFrame.h" |
18 | 19 |
19 namespace blink { | 20 namespace blink { |
20 class WebServiceWorkerProxy; | 21 class WebServiceWorkerProxy; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 blink::WebServiceWorkerState state_; | 65 blink::WebServiceWorkerState state_; |
65 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 66 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
66 blink::WebServiceWorkerProxy* proxy_; | 67 blink::WebServiceWorkerProxy* proxy_; |
67 | 68 |
68 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl); | 69 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerImpl); |
69 }; | 70 }; |
70 | 71 |
71 } // namespace content | 72 } // namespace content |
72 | 73 |
73 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ | 74 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_IMPL_H_ |
OLD | NEW |