| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHILD_WEBSOCKET_BRIDGE_H_ | 5 #ifndef CONTENT_CHILD_WEBSOCKET_BRIDGE_H_ |
| 6 #define CONTENT_CHILD_WEBSOCKET_BRIDGE_H_ | 6 #define CONTENT_CHILD_WEBSOCKET_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 #include <string> | 10 #include <string> |
| 10 #include <vector> | 11 #include <vector> |
| 11 | 12 |
| 12 #include "base/basictypes.h" | |
| 13 #include "content/common/websocket.h" | 13 #include "content/common/websocket.h" |
| 14 #include "ipc/ipc_message.h" | 14 #include "ipc/ipc_message.h" |
| 15 #include "third_party/WebKit/public/platform/WebSocketHandle.h" | 15 #include "third_party/WebKit/public/platform/WebSocketHandle.h" |
| 16 #include "third_party/WebKit/public/platform/WebVector.h" | 16 #include "third_party/WebKit/public/platform/WebVector.h" |
| 17 | 17 |
| 18 namespace blink { | 18 namespace blink { |
| 19 class WebSecurityOrigin; | 19 class WebSecurityOrigin; |
| 20 class WebString; | 20 class WebString; |
| 21 class WebURL; | 21 class WebURL; |
| 22 } // namespace blink | 22 } // namespace blink |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 int channel_id_; | 66 int channel_id_; |
| 67 int render_frame_id_; | 67 int render_frame_id_; |
| 68 blink::WebSocketHandleClient* client_; | 68 blink::WebSocketHandleClient* client_; |
| 69 | 69 |
| 70 static const int kInvalidChannelId = -1; | 70 static const int kInvalidChannelId = -1; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace content | 73 } // namespace content |
| 74 | 74 |
| 75 #endif // CONTENT_CHILD_WEBSOCKET_BRIDGE_H_ | 75 #endif // CONTENT_CHILD_WEBSOCKET_BRIDGE_H_ |
| OLD | NEW |