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

Unified Diff: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h

Issue 2652973002: [scheduler] Plumb websocket information to scheduler (Closed)
Patch Set: Introduce WebFrameScheduler::ActiveConnectionHandle Created 3 years, 11 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: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
index 6e678c91a22818b2c6a44213cf0a908d322be61f..e390f79ee38a426eee1e3a7f50d2caf6c61738c3 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
@@ -38,6 +38,7 @@
#include "modules/websockets/WebSocketChannel.h"
#include "modules/websockets/WebSocketHandle.h"
#include "modules/websockets/WebSocketHandleClient.h"
+#include "platform/WebFrameScheduler.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "wtf/Deque.h"
@@ -173,6 +174,8 @@ class MODULES_EXPORT DocumentWebSocketChannel final
uint64_t m_sendingQuota;
uint64_t m_receivedDataSizeForFlowControl;
size_t m_sentSizeOfTopMessage;
+ std::unique_ptr<WebFrameScheduler::ActiveConnectionHandle>
+ connection_handle_for_scheduler_;
std::unique_ptr<SourceLocation> m_locationAtConstruction;
RefPtr<WebSocketHandshakeRequest> m_handshakeRequest;

Powered by Google App Engine
This is Rietveld 408576698