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

Unified Diff: content/browser/renderer_host/websocket_host.h

Issue 1461283002: [DO NOT COMMIT] mojo datapipe performance measurement Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
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);
« no previous file with comments | « content/browser/renderer_host/websocket_dispatcher_host.cc ('k') | content/browser/renderer_host/websocket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698