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

Unified Diff: public/platform/Platform.h

Issue 855493002: [DO NOT REVIEW][DO NOT COMMIT] Introduce WebDataProducerHandle. Base URL: https://chromium.googlesource.com/chromium/blink.git@pump-data-out-of-stream
Patch Set: Created 5 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
« no previous file with comments | « no previous file | public/platform/WebCreateDataPipeOptions.h » ('j') | public/platform/WebDataProducerHandle.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index be369762a4f30d439fe7a48569e884b6694368f9..d87938f6d13138d6747d2aa04e8051ca424f4e7a 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -66,7 +66,10 @@ class WebClipboard;
class WebCompositorSupport;
class WebConvertableToTraceFormat;
class WebCookieJar;
+class WebCreateDataPipeOptions;
class WebCrypto;
+class WebDataConsumerHandle;
+class WebDataProducerHandle;
class WebDatabaseObserver;
class WebDiscardableMemory;
class WebPlatformEventListener;
@@ -647,6 +650,11 @@ public:
virtual WebNavigatorConnectProvider* navigatorConnectProvider() { return 0; }
+ // |options| can be null. The default option is used in such a case.
+ // Creates a producer handle and a consumer handle, and store them into
tyoshino (SeeGerritForStatus) 2015/01/23 08:24:20 stores
yhirano 2015/01/23 10:49:02 Done.
+ // the output parameters. Returns true when the operation succeeds.
+ virtual bool createDataPipe(const WebCreateDataPipeOptions* /* options */, WebDataProducerHandle**, WebDataConsumerHandle**) { return false; }
+
protected:
virtual ~Platform() { }
};
« no previous file with comments | « no previous file | public/platform/WebCreateDataPipeOptions.h » ('j') | public/platform/WebDataProducerHandle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698