| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 WebSocketChannelClientProxy_h | 5 #ifndef WebSocketChannelClientProxy_h |
| 6 #define WebSocketChannelClientProxy_h | 6 #define WebSocketChannelClientProxy_h |
| 7 | 7 |
| 8 #include "modules/websockets/WebSocketChannelClient.h" | 8 #include "modules/websockets/WebSocketChannelClient.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "web/WebSocketImpl.h" | 10 #include "web/WebSocketImpl.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 virtual void didConnect(const String& subprotocol, const String& extensions)
override | 31 virtual void didConnect(const String& subprotocol, const String& extensions)
override |
| 32 { | 32 { |
| 33 m_impl->didConnect(subprotocol, extensions); | 33 m_impl->didConnect(subprotocol, extensions); |
| 34 } | 34 } |
| 35 virtual void didReceiveTextMessage(const String& payload) override | 35 virtual void didReceiveTextMessage(const String& payload) override |
| 36 { | 36 { |
| 37 m_impl->didReceiveTextMessage(payload); | 37 m_impl->didReceiveTextMessage(payload); |
| 38 } | 38 } |
| 39 virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char> > payload) over
ride | 39 virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload) overr
ide |
| 40 { | 40 { |
| 41 m_impl->didReceiveBinaryMessage(payload); | 41 m_impl->didReceiveBinaryMessage(payload); |
| 42 } | 42 } |
| 43 virtual void didError() override | 43 virtual void didError() override |
| 44 { | 44 { |
| 45 m_impl->didError(); | 45 m_impl->didError(); |
| 46 } | 46 } |
| 47 virtual void didConsumeBufferedAmount(uint64_t consumed) override | 47 virtual void didConsumeBufferedAmount(uint64_t consumed) override |
| 48 { | 48 { |
| 49 m_impl->didConsumeBufferedAmount(consumed); | 49 m_impl->didConsumeBufferedAmount(consumed); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 69 : m_impl(impl) | 69 : m_impl(impl) |
| 70 { | 70 { |
| 71 } | 71 } |
| 72 | 72 |
| 73 WebSocketImpl* m_impl; | 73 WebSocketImpl* m_impl; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // WebSocketChannelClientProxy_h | 78 #endif // WebSocketChannelClientProxy_h |
| OLD | NEW |