| 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 // An implementation of WebSocketStreamHandle. | 5 // An implementation of WebSocketStreamHandle. |
| 6 | 6 |
| 7 #include "webkit/glue/websocketstreamhandle_impl.h" | 7 #include "webkit/glue/websocketstreamhandle_impl.h" |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 bool WebSocketStreamHandleImpl::send(const WebData& data) { | 188 bool WebSocketStreamHandleImpl::send(const WebData& data) { |
| 189 return context_->Send(data); | 189 return context_->Send(data); |
| 190 } | 190 } |
| 191 | 191 |
| 192 void WebSocketStreamHandleImpl::close() { | 192 void WebSocketStreamHandleImpl::close() { |
| 193 context_->Close(); | 193 context_->Close(); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace webkit_glue | 196 } // namespace webkit_glue |
| OLD | NEW |