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

Unified Diff: content/child/websocket_bridge.h

Issue 1574213003: [ABANDONED] Use new Websocket SendBlob IPC from renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@websocket_blob_send_sender
Patch Set: Comment that bufferedAmount may be temporarily too low. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/web_socket_handle_impl.cc ('k') | content/child/websocket_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/websocket_bridge.h
diff --git a/content/child/websocket_bridge.h b/content/child/websocket_bridge.h
index ab5e3dca0194a4e84660f230330ed1985cbcc25c..4e3226bce7c4cc27792d1365812af75bf78d2824 100644
--- a/content/child/websocket_bridge.h
+++ b/content/child/websocket_bridge.h
@@ -39,6 +39,7 @@ class WebSocketBridge : public blink::WebSocketHandle {
WebSocketHandle::MessageType type,
const char* data,
size_t size) override;
+ void sendBlob(const blink::WebString& uuid, uint64_t expected_size) override;
void flowControl(int64_t quota) override;
void close(unsigned short code, const blink::WebString& reason) override;
@@ -56,6 +57,7 @@ class WebSocketBridge : public blink::WebSocketHandle {
void DidStartOpeningHandshake(const WebSocketHandshakeRequest& request);
void DidFinishOpeningHandshake(const WebSocketHandshakeResponse& response);
void DidFail(const std::string& message);
+ void DidCompleteSendingBlob();
void DidReceiveData(bool fin,
WebSocketMessageType type,
const std::vector<char>& data);
« no previous file with comments | « components/html_viewer/web_socket_handle_impl.cc ('k') | content/child/websocket_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698