OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ | 5 #ifndef CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ |
6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ | 6 #define CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 blink::WebContentSecurityPolicyType security_policy_type, | 52 blink::WebContentSecurityPolicyType security_policy_type, |
53 blink::WebAddressSpace creation_address_space, | 53 blink::WebAddressSpace creation_address_space, |
54 bool pause_on_start, | 54 bool pause_on_start, |
55 int route_id); | 55 int route_id); |
56 | 56 |
57 // IPC::Listener implementation. | 57 // IPC::Listener implementation. |
58 bool OnMessageReceived(const IPC::Message& message) override; | 58 bool OnMessageReceived(const IPC::Message& message) override; |
59 void OnChannelError() override; | 59 void OnChannelError() override; |
60 | 60 |
61 // blink::WebSharedWorkerClient implementation. | 61 // blink::WebSharedWorkerClient implementation. |
| 62 void countFeature(uint32_t use_counter_id) override; |
62 void workerContextClosed() override; | 63 void workerContextClosed() override; |
63 void workerContextDestroyed() override; | 64 void workerContextDestroyed() override; |
64 void workerReadyForInspection() override; | 65 void workerReadyForInspection() override; |
65 void workerScriptLoaded() override; | 66 void workerScriptLoaded() override; |
66 void workerScriptLoadFailed() override; | 67 void workerScriptLoadFailed() override; |
67 void selectAppCacheID(long long) override; | 68 void selectAppCacheID(long long) override; |
68 blink::WebNotificationPresenter* notificationPresenter() override; | 69 blink::WebNotificationPresenter* notificationPresenter() override; |
69 blink::WebApplicationCacheHost* createApplicationCacheHost( | 70 blink::WebApplicationCacheHost* createApplicationCacheHost( |
70 blink::WebApplicationCacheHostClient*) override; | 71 blink::WebApplicationCacheHostClient*) override; |
71 blink::WebWorkerContentSettingsClientProxy* | 72 blink::WebWorkerContentSettingsClientProxy* |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 PendingChannelList pending_channels_; | 104 PendingChannelList pending_channels_; |
104 | 105 |
105 ScopedChildProcessReference process_ref_; | 106 ScopedChildProcessReference process_ref_; |
106 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; | 107 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; |
107 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); | 108 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace content | 111 } // namespace content |
111 | 112 |
112 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ | 113 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ |
OLD | NEW |