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

Unified Diff: third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h

Issue 2292763002: [Fetch API] Implement Request.formData and Response.formData. (Closed)
Patch Set: 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/fetch/BytesConsumerTestUtil.h
diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h b/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h
index f858b783f26962bed510d4a4f2e6520c5ed08254..e635556b23707c052ff458b6c5322d2ea3f890d1 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> blobDataHandle) override {
didFetchDataLoadedBlobHandleMock(blobDataHandle);
}
+ void didFetchDataLoadedFormData(FormData* FormData) override {
+ didFetchDataLoadedFormDataMock(FormData);
+ }
};
class Command final {

Powered by Google App Engine
This is Rietveld 408576698