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_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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
13 #include "ipc/ipc_listener.h" | 13 #include "ipc/ipc_listener.h" |
14 #include "third_party/WebKit/public/web/WebSharedWorkerConnector.h" | 14 #include "third_party/WebKit/public/web/WebSharedWorkerConnector.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 class MessageRouter; | 19 class MessageRouter; |
20 | 20 |
21 // Implementation of the WebSharedWorker APIs. This object is intended to only | 21 // Implementation of the WebSharedWorker APIs. This object is intended to only |
22 // live long enough to allow the caller to send a "connect" event to the worker | 22 // live long enough to allow the caller to send a "connect" event to the worker |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 int pending_route_id_; | 82 int pending_route_id_; |
83 ConnectListener* connect_listener_; | 83 ConnectListener* connect_listener_; |
84 bool created_; | 84 bool created_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); | 86 DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerProxy); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace content | 89 } // namespace content |
90 | 90 |
91 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ | 91 #endif // CONTENT_RENDERER_WEBSHAREDWORKER_PROXY_H_ |
OLD | NEW |