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

Unified Diff: public/platform/WebThreadedDataReceiver.h

Issue 690793003: Threaded data provider: Support main thread data notifications (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use a DocumentLifecycleObserver instead of a WeakPtr to the document 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
Index: public/platform/WebThreadedDataReceiver.h
diff --git a/public/platform/WebThreadedDataReceiver.h b/public/platform/WebThreadedDataReceiver.h
index df78e9cdc28c69346e561b6d70ed3176a4ea4874..516c13b870bc61b75e539c13ee153172a7cafa3c 100644
--- a/public/platform/WebThreadedDataReceiver.h
+++ b/public/platform/WebThreadedDataReceiver.h
@@ -14,6 +14,9 @@ public:
virtual void acceptData(const char* data, int dataLength) = 0;
virtual WebThread* backgroundThread() = 0;
+ virtual bool needsMainthreadDataCopy() = 0;
+ virtual void acceptMainthreadDataNotification(const char* data, int dataLength, int encodedDataLength) = 0;
+
virtual ~WebThreadedDataReceiver() { }
};
« Source/core/html/parser/HTMLDocumentParser.cpp ('K') | « Source/core/loader/ProgressTracker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698