Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: third_party/WebKit/Source/web/WebSocketChannelClientProxy.h

Issue 1666893003: [ABANDONED] WebSocket Blob receive in the browser process: renderer changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@websocket_blob_receive_host_merged
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
29 } 29 }
30 30
31 void didConnect(const String& subprotocol, const String& extensions) overrid e 31 void didConnect(const String& subprotocol, const String& extensions) overrid e
32 { 32 {
33 m_impl->didConnect(subprotocol, extensions); 33 m_impl->didConnect(subprotocol, extensions);
34 } 34 }
35 void didReceiveTextMessage(const String& payload) override 35 void didReceiveTextMessage(const String& payload) override
36 { 36 {
37 m_impl->didReceiveTextMessage(payload); 37 m_impl->didReceiveTextMessage(payload);
38 } 38 }
39 void didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload) override 39 void didReceiveArrayBuffer(PassOwnPtr<Vector<char>> payload) override
40 { 40 {
41 m_impl->didReceiveBinaryMessage(payload); 41 m_impl->didReceiveArrayBuffer(payload);
42 }
43 void didReceiveBlob(PassRefPtr<BlobDataHandle> blob) override
44 {
45 m_impl->didReceiveBlob(blob);
42 } 46 }
43 void didError() override 47 void didError() override
44 { 48 {
45 m_impl->didError(); 49 m_impl->didError();
46 } 50 }
47 void didConsumeBufferedAmount(uint64_t consumed) override 51 void didConsumeBufferedAmount(uint64_t consumed) override
48 { 52 {
49 m_impl->didConsumeBufferedAmount(consumed); 53 m_impl->didConsumeBufferedAmount(consumed);
50 } 54 }
51 void didStartClosingHandshake() override 55 void didStartClosingHandshake() override
(...skipping 17 matching lines...) Expand all
69 : m_impl(impl) 73 : m_impl(impl)
70 { 74 {
71 } 75 }
72 76
73 WebSocketImpl* m_impl; 77 WebSocketImpl* m_impl;
74 }; 78 };
75 79
76 } // namespace blink 80 } // namespace blink
77 81
78 #endif // WebSocketChannelClientProxy_h 82 #endif // WebSocketChannelClientProxy_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp ('k') | third_party/WebKit/Source/web/WebSocketImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698