Index: content/browser/renderer_host/websocket_host.h |
diff --git a/content/browser/renderer_host/websocket_host.h b/content/browser/renderer_host/websocket_host.h |
index 626f6bea76e82ff6996b0d1d12efd2e1df5a87a7..0922633b93b0bc061448e5092802e18e44483bfe 100644 |
--- a/content/browser/renderer_host/websocket_host.h |
+++ b/content/browser/renderer_host/websocket_host.h |
@@ -12,6 +12,7 @@ |
#include <vector> |
#include "base/macros.h" |
+#include "base/memory/shared_memory.h" |
#include "base/memory/weak_ptr.h" |
#include "base/time/time.h" |
#include "content/common/content_export.h" |
@@ -90,6 +91,9 @@ class CONTENT_EXPORT WebSocketHost { |
// non-NULL if and only if this object is currently in "blob sending mode". |
std::unique_ptr<WebSocketBlobSender> blob_sender_; |
+ void OnLoaderTransferTest_Setup(int buffer_size); |
+ void OnLoaderTransferTest_Send(int offset, int size); |
+ void OnLoaderTransferTest_Close(); |
// The channel we use to send events to the network. |
std::unique_ptr<net::WebSocketChannel> channel_; |
@@ -115,6 +119,9 @@ class CONTENT_EXPORT WebSocketHost { |
// to manage counters for per-renderer WebSocket throttling. |
bool handshake_succeeded_; |
+ std::unique_ptr<base::SharedMemory> shared_memory_; |
+ size_t loader_test_num_read_bytes_; |
+ |
base::WeakPtrFactory<WebSocketHost> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(WebSocketHost); |