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

Unified Diff: Source/modules/fetch/DataConsumerTee.h

Issue 1192913007: Change BodyStreamBuffer to be FetchDataConsumerHandle-based and enable backpressure in Fetch API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: (temp) alternative to calling didGetReadable in sync. Created 5 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
Index: Source/modules/fetch/DataConsumerTee.h
diff --git a/Source/modules/fetch/DataConsumerTee.h b/Source/modules/fetch/DataConsumerTee.h
index eb2862f462be8b99f677f51cae408a0b810fbc94..eabd53b4a0566a50903f31df46fdaf4aa312b0e5 100644
--- a/Source/modules/fetch/DataConsumerTee.h
+++ b/Source/modules/fetch/DataConsumerTee.h
@@ -6,8 +6,8 @@
#define DataConsumerTee_h
#include "modules/ModulesExport.h"
+#include "modules/fetch/FetchDataConsumerHandle.h"
#include "public/platform/WebDataConsumerHandle.h"
-
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -19,6 +19,7 @@ class MODULES_EXPORT DataConsumerTee {
public:
// Create two handles from one. |src| must be a valid unlocked handle.
static void create(ExecutionContext*, PassOwnPtr<WebDataConsumerHandle> src, OwnPtr<WebDataConsumerHandle>* dest1, OwnPtr<WebDataConsumerHandle>* dest2);
+ static void create(ExecutionContext*, PassOwnPtr<FetchDataConsumerHandle> src, OwnPtr<FetchDataConsumerHandle>* dest1, OwnPtr<FetchDataConsumerHandle>* dest2);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698