OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WEBSHAREDWORKER_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ |
6 #define CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ | 6 #define CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 // The routing id for the RenderView that created this worker. | 84 // The routing id for the RenderView that created this worker. |
85 int render_view_route_id_; | 85 int render_view_route_id_; |
86 | 86 |
87 ChildThread* child_thread_; | 87 ChildThread* child_thread_; |
88 | 88 |
89 // ID of our parent document (used to shutdown workers when the parent | 89 // ID of our parent document (used to shutdown workers when the parent |
90 // document is detached). | 90 // document is detached). |
91 unsigned long long document_id_; | 91 unsigned long long document_id_; |
92 | 92 |
93 // ID of our parent's appcache host, only valid for dedicated workers. | |
94 int parent_appcache_host_id_; | |
95 | |
96 // Stores messages that were sent before the StartWorkerContext message. | 93 // Stores messages that were sent before the StartWorkerContext message. |
97 std::vector<IPC::Message*> queued_messages_; | 94 std::vector<IPC::Message*> queued_messages_; |
98 | 95 |
99 // The id for the placeholder worker instance we've stored on the | 96 // The id for the placeholder worker instance we've stored on the |
100 // browser process (we need to pass this same route id back in when creating | 97 // browser process (we need to pass this same route id back in when creating |
101 // the worker). | 98 // the worker). |
102 int pending_route_id_; | 99 int pending_route_id_; |
103 ConnectListener* connect_listener_; | 100 ConnectListener* connect_listener_; |
104 | 101 |
105 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); | 102 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); |
106 }; | 103 }; |
107 | 104 |
108 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ | 105 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ |
OLD | NEW |