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

Unified Diff: public/platform/WebSchedulerProxy.h

Issue 540373002: Add support for Low Priorirty tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Maybe fix linker issue Created 6 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: public/platform/WebSchedulerProxy.h
diff --git a/public/platform/WebSchedulerProxy.h b/public/platform/WebSchedulerProxy.h
index f59ff991caf0d8e6e2a9fcb8f6e0cd6785a9632b..c74ba7a5f56d65ceaf243fe0134426e8af63533f 100644
--- a/public/platform/WebSchedulerProxy.h
+++ b/public/platform/WebSchedulerProxy.h
@@ -27,6 +27,10 @@ public:
// ownership of |Task|. Can be called from any thread.
BLINK_PLATFORM_EXPORT void postCompositorTask(const WebTraceLocation&, WebThread::Task*);
+ // Schedule a task due to an IPC to be run on the Blink main thread.
+ // Takes ownership of |Task|. Can be called from any thread.
+ BLINK_PLATFORM_EXPORT void postIpcTask(const WebTraceLocation&, WebThread::Task*);
+
private:
WebSchedulerProxy();

Powered by Google App Engine
This is Rietveld 408576698