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

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

Issue 2277143002: Use BytesConsumer in BodyStreamBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bytes-consumer-tee
Patch Set: rebase Created 4 years, 3 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/DataConsumerTee.h
diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerTee.h b/third_party/WebKit/Source/modules/fetch/DataConsumerTee.h
deleted file mode 100644
index b0e283d298619514347eb23ffe70a7428ca6770f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerTee.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef DataConsumerTee_h
-#define DataConsumerTee_h
-
-#include "modules/ModulesExport.h"
-#include "modules/fetch/FetchDataConsumerHandle.h"
-#include "public/platform/WebDataConsumerHandle.h"
-#include "wtf/Allocator.h"
-#include <memory>
-
-namespace blink {
-
-class ExecutionContext;
-
-class MODULES_EXPORT DataConsumerTee {
- STATIC_ONLY(DataConsumerTee);
-public:
- // Create two handles from one. |src| must be a valid unlocked handle.
- static void create(ExecutionContext*, std::unique_ptr<WebDataConsumerHandle> src, std::unique_ptr<WebDataConsumerHandle>* dest1, std::unique_ptr<WebDataConsumerHandle>* dest2);
- static void create(ExecutionContext*, std::unique_ptr<FetchDataConsumerHandle> src, std::unique_ptr<FetchDataConsumerHandle>* dest1, std::unique_ptr<FetchDataConsumerHandle>* dest2);
-};
-
-} // namespace blink
-
-#endif // DataConsumerTee_h

Powered by Google App Engine
This is Rietveld 408576698