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

Unified Diff: mojo/services/html_viewer/web_scheduler_impl.h

Issue 1101703003: Adds a SHUTDOWN_TASK_QUEUE and a PreShutdown api to the scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase of DOOM Created 5 years, 8 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: mojo/services/html_viewer/web_scheduler_impl.h
diff --git a/mojo/services/html_viewer/web_scheduler_impl.h b/mojo/services/html_viewer/web_scheduler_impl.h
index 9d1563935cbf87ada582206657bfaa331a326396..a2b5b964164cf4b8014671dc58a15ccf96957142 100644
--- a/mojo/services/html_viewer/web_scheduler_impl.h
+++ b/mojo/services/html_viewer/web_scheduler_impl.h
@@ -26,6 +26,10 @@ class WebSchedulerImpl : public blink::WebScheduler {
virtual void postTimerTask(const blink::WebTraceLocation& location,
blink::WebThread::Task* task,
long long delayMs);
+ virtual void postShutdownTask(const blink::WebTraceLocation& location,
+ blink::WebThread::Task* task,
+ long long delayMs);
+ virtual void preShutdown();
static void RunIdleTask(scoped_ptr<blink::WebThread::IdleTask> task);
static void RunTask(scoped_ptr<blink::WebThread::Task> task);

Powered by Google App Engine
This is Rietveld 408576698