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 |