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

Unified Diff: third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.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
« no previous file with comments | « third_party/WebKit/Source/modules/websockets/WebSocketChannel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.h
diff --git a/third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.h b/third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.h
index 82ff81701986e70779a484bccd94c44eeb83a34a..819855531607d4a88fdc08de8eaba09f7f46dd0f 100644
--- a/third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.h
+++ b/third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.h
@@ -33,6 +33,7 @@
#include "public/platform/WebCommon.h"
#include "public/platform/WebVector.h"
+#include "public/platform/WebCallbacks.h"
namespace blink {
@@ -61,6 +62,13 @@ public:
virtual void send(bool fin, MessageType, const char* data, size_t /* size */) = 0;
virtual void flowControl(int64_t quota) = 0;
virtual void close(unsigned short code, const WebString& reason) = 0;
+
+ enum LoaderTestIPC {
+ ViaChromiumIPC,
+ ViaMojo,
+ };
+ // The async return value is an integer representing the elapsed time in usec.
+ virtual void loaderTestTransmit(LoaderTestIPC, bool verifyData, size_t bucketSize, size_t bufferSize, size_t totalSize, WebCallbacks<int, void>*) {}
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/websockets/WebSocketChannel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698