| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WORKER_WEBSHAREDWORKER_STUB_H_ | 5 #ifndef CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ |
| 6 #define CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ | 6 #define CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "content/child/scoped_child_process_reference.h" | 9 #include "content/child/scoped_child_process_reference.h" |
| 10 #include "content/worker/websharedworkerclient_proxy.h" | 10 #include "content/worker/websharedworkerclient_proxy.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ScopedChildProcessReference process_ref_; | 62 ScopedChildProcessReference process_ref_; |
| 63 | 63 |
| 64 int route_id_; | 64 int route_id_; |
| 65 | 65 |
| 66 // WebSharedWorkerClient that responds to outgoing API calls | 66 // WebSharedWorkerClient that responds to outgoing API calls |
| 67 // from the worker object. | 67 // from the worker object. |
| 68 WebSharedWorkerClientProxy client_; | 68 WebSharedWorkerClientProxy client_; |
| 69 | 69 |
| 70 blink::WebSharedWorker* impl_; | 70 blink::WebSharedWorker* impl_; |
| 71 bool running_; | 71 bool running_; |
| 72 bool terminating_; |
| 72 GURL url_; | 73 GURL url_; |
| 73 scoped_ptr<SharedWorkerDevToolsAgent> worker_devtools_agent_; | 74 scoped_ptr<SharedWorkerDevToolsAgent> worker_devtools_agent_; |
| 74 | 75 |
| 75 typedef std::vector<WebMessagePortChannelImpl*> PendingChannelList; | 76 typedef std::vector<WebMessagePortChannelImpl*> PendingChannelList; |
| 76 PendingChannelList pending_channels_; | 77 PendingChannelList pending_channels_; |
| 77 | 78 |
| 78 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerStub); | 79 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerStub); |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 } // namespace content | 82 } // namespace content |
| 82 | 83 |
| 83 #endif // CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ | 84 #endif // CONTENT_WORKER_WEBSHAREDWORKER_STUB_H_ |
| OLD | NEW |