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

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

Issue 2696483003: [scheduler] Plumb websocket information to scheduler (Closed)
Patch Set: Created 3 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 | « no previous file | third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..90eb1f2ce555da3e8a36938d50a62190decfb3a3 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
@@ -31,6 +31,8 @@
#ifndef DocumentWebSocketChannel_h
#define DocumentWebSocketChannel_h
+#include <stdint.h>
+#include <memory>
#include "bindings/core/v8/SourceLocation.h"
#include "core/fileapi/Blob.h"
#include "core/fileapi/FileError.h"
@@ -38,6 +40,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"
@@ -46,8 +49,6 @@
#include "wtf/Vector.h"
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
-#include <memory>
-#include <stdint.h>
namespace blink {
@@ -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;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698