Index: third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h |
diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h b/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h |
index 4c5d0cf70a63a6dda8a82f9d2fba6ea4cd7f75e1..76f91321936002c1cfc5b1a9f06ab379aae841ba 100644 |
--- a/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h |
+++ b/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h |
@@ -59,6 +59,7 @@ class BytesConsumerTestUtil { |
MOCK_METHOD1(DidFetchDataLoadedBlobHandleMock, |
void(RefPtr<BlobDataHandle>)); |
MOCK_METHOD1(DidFetchDataLoadedArrayBufferMock, void(DOMArrayBuffer*)); |
+ MOCK_METHOD1(DidFetchDataLoadedFormDataMock, void(FormData*)); |
MOCK_METHOD1(DidFetchDataLoadedString, void(const String&)); |
MOCK_METHOD0(DidFetchDataLoadStream, void()); |
MOCK_METHOD0(DidFetchDataLoadFailed, void()); |
@@ -71,6 +72,9 @@ class BytesConsumerTestUtil { |
PassRefPtr<BlobDataHandle> blob_data_handle) override { |
DidFetchDataLoadedBlobHandleMock(std::move(blob_data_handle)); |
} |
+ void DidFetchDataLoadedFormData(FormData* FormData) override { |
+ DidFetchDataLoadedFormDataMock(FormData); |
+ } |
}; |
class Command final { |