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

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

Issue 1207273003: Revert of [1b] Implement FetchBlobDataConsumerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/fetch/FetchInitiatorTypeNames.in ('k') | Source/modules/fetch/FetchBlobDataConsumerHandle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/FetchBlobDataConsumerHandle.h
diff --git a/Source/modules/fetch/FetchBlobDataConsumerHandle.h b/Source/modules/fetch/FetchBlobDataConsumerHandle.h
deleted file mode 100644
index 143a0ee979eb7333f08e463e66dcb39615942501..0000000000000000000000000000000000000000
--- a/Source/modules/fetch/FetchBlobDataConsumerHandle.h
+++ /dev/null
@@ -1,47 +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 FetchBlobDataConsumerHandle_h
-#define FetchBlobDataConsumerHandle_h
-
-#include "core/fetch/ResourceLoaderOptions.h"
-#include "core/loader/ThreadableLoader.h"
-#include "modules/fetch/FetchDataConsumerHandle.h"
-#include "platform/blob/BlobData.h"
-#include "wtf/PassOwnPtr.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefPtr.h"
-
-namespace blink {
-
-class ExecutionContext;
-class FetchBlobDataConsumerHandle final : public FetchDataConsumerHandle {
-public:
- class LoaderFactory : public GarbageCollectedFinalized<LoaderFactory> {
- public:
- virtual PassRefPtr<ThreadableLoader> create(ExecutionContext&, ThreadableLoaderClient*, const ResourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&) = 0;
- virtual ~LoaderFactory() { }
- DEFINE_INLINE_VIRTUAL_TRACE() { }
- };
-
- static PassOwnPtr<FetchDataConsumerHandle> create(ExecutionContext*, PassRefPtr<BlobDataHandle>);
-
- // For testing.
- static PassOwnPtr<FetchDataConsumerHandle> create(ExecutionContext*, PassRefPtr<BlobDataHandle>, LoaderFactory*);
-
- ~FetchBlobDataConsumerHandle();
-
-private:
- FetchBlobDataConsumerHandle(ExecutionContext*, PassRefPtr<BlobDataHandle>, LoaderFactory*);
- Reader* obtainReaderInternal(Client*) override;
-
- const char* debugName() const override { return "FetchBlobDataConsumerHandle"; }
-
- class ReaderContext;
- RefPtr<ReaderContext> m_readerContext;
-};
-
-} // namespace blink
-
-#endif // FetchBlobDataConsumerHandle_h
« no previous file with comments | « Source/core/fetch/FetchInitiatorTypeNames.in ('k') | Source/modules/fetch/FetchBlobDataConsumerHandle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698