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 session_id, | 73 void sendDevToolsMessage(int call_id, |
74 int call_id, | |
75 const blink::WebString& message, | 74 const blink::WebString& message, |
76 const blink::WebString& state) override; | 75 const blink::WebString& state) override; |
77 | 76 |
78 private: | 77 private: |
79 ~EmbeddedSharedWorkerStub() override; | 78 ~EmbeddedSharedWorkerStub() override; |
80 | 79 |
81 void Shutdown(); | 80 void Shutdown(); |
82 bool Send(IPC::Message* message); | 81 bool Send(IPC::Message* message); |
83 | 82 |
84 // WebSharedWorker will own |channel|. | 83 // WebSharedWorker will own |channel|. |
(...skipping 13 matching lines...) Expand all Loading... |
98 PendingChannelList pending_channels_; | 97 PendingChannelList pending_channels_; |
99 | 98 |
100 ScopedChildProcessReference process_ref_; | 99 ScopedChildProcessReference process_ref_; |
101 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; | 100 WebApplicationCacheHostImpl* app_cache_host_ = nullptr; |
102 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); | 101 DISALLOW_COPY_AND_ASSIGN(EmbeddedSharedWorkerStub); |
103 }; | 102 }; |
104 | 103 |
105 } // namespace content | 104 } // namespace content |
106 | 105 |
107 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ | 106 #endif // CONTENT_RENDERER_SHARED_WORKER_EMBEDDED_SHARED_WORKER_STUB_H_ |
OLD | NEW |