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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "content/child/child_message_filter.h" | 10 #include "content/child/child_message_filter.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void workerScriptLoadFailed() override; | 63 void workerScriptLoadFailed() override; |
64 void selectAppCacheID(long long) override; | 64 void selectAppCacheID(long long) override; |
65 blink::WebNotificationPresenter* notificationPresenter() override; | 65 blink::WebNotificationPresenter* notificationPresenter() override; |
66 blink::WebApplicationCacheHost* createApplicationCacheHost( | 66 blink::WebApplicationCacheHost* createApplicationCacheHost( |
67 blink::WebApplicationCacheHostClient*) override; | 67 blink::WebApplicationCacheHostClient*) override; |
68 blink::WebWorkerContentSettingsClientProxy* | 68 blink::WebWorkerContentSettingsClientProxy* |
69 createWorkerContentSettingsClientProxy( | 69 createWorkerContentSettingsClientProxy( |
70 const blink::WebSecurityOrigin& origin) override; | 70 const blink::WebSecurityOrigin& origin) override; |
71 blink::WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( | 71 blink::WebServiceWorkerNetworkProvider* createServiceWorkerNetworkProvider( |
72 blink::WebDataSource*) override; | 72 blink::WebDataSource*) override; |
73 void sendDevToolsMessage(int call_id, | 73 void sendDevToolsMessage(int session_id, |
| 74 int call_id, |
74 const blink::WebString& message, | 75 const blink::WebString& message, |
75 const blink::WebString& state) override; | 76 const blink::WebString& state) override; |
76 | 77 |
77 private: | 78 private: |
78 ~EmbeddedSharedWorkerStub() override; | 79 ~EmbeddedSharedWorkerStub() override; |
79 | 80 |
80 void Shutdown(); | 81 void Shutdown(); |
81 bool Send(IPC::Message* message); | 82 bool Send(IPC::Message* message); |
82 | 83 |
83 // WebSharedWorker will own |channel|. | 84 // WebSharedWorker will own |channel|. |
(...skipping 13 matching lines...) Expand all Loading... |
97 PendingChannelList pending_channels_; | 98 PendingChannelList pending_channels_; |
98 | 99 |
99 ScopedChildProcessReference process_ref_; | 100 ScopedChildProcessReference process_ref_; |
100 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; | 101 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; |
101 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); | 102 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); |
102 }; | 103 }; |
103 | 104 |
104 } // namespace content | 105 } // namespace content |
105 | 106 |
106 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ | 107 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ |
OLD | NEW |