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

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

Issue 1176243004: Add FetchDataConsumerHandle and utility functions/classes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build break fix. 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 | « no previous file | Source/modules/fetch/CompositeDataConsumerHandle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/CompositeDataConsumerHandle.h
diff --git a/Source/modules/fetch/CompositeDataConsumerHandle.h b/Source/modules/fetch/CompositeDataConsumerHandle.h
index ea1aa517a9d0cf69ad699795532feabf0fc592b0..82fb0a551c0ce436d89702c312aef1e369cb66b7 100644
--- a/Source/modules/fetch/CompositeDataConsumerHandle.h
+++ b/Source/modules/fetch/CompositeDataConsumerHandle.h
@@ -29,21 +29,6 @@ public:
// was created. |handle| must not be null and must not be locked.
void update(PassOwnPtr<WebDataConsumerHandle> /* handle */);
- // Utility static methods each of which provides a "basic block" of
- // a CompositeDataConsumerHandle. For example, a user can create
- // a CompositeDataConsumerHandle with a "waiting" handle to provide
- // WebDataConsumerHandle APIs while waiting for another handle. When that
- // handle arrives, the user will use |update| to replace the "waiting"
- // handle with the arrived one.
- //
- // Returns a handle that returns ShouldWait for read / beginRead and
- // UnexpectedError for endRead.
- static PassOwnPtr<WebDataConsumerHandle> createWaitingHandle();
-
- // Returns a handle that returns Done for read / beginRead and
- // UnexpectedError for endRead.
- static PassOwnPtr<WebDataConsumerHandle> createDoneHandle();
-
private:
class Context;
class ReaderImpl;
« no previous file with comments | « no previous file | Source/modules/fetch/CompositeDataConsumerHandle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698