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

Unified Diff: components/html_viewer/web_scheduler_impl.h

Issue 1106213002: 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: Review comments. 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
« no previous file with comments | « no previous file | components/html_viewer/web_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_scheduler_impl.h
diff --git a/components/html_viewer/web_scheduler_impl.h b/components/html_viewer/web_scheduler_impl.h
index e0d754f48f5a845be87df94f27d73564c6690e93..376e93fb5162b6528828ac5929c5e5482d2933f6 100644
--- a/components/html_viewer/web_scheduler_impl.h
+++ b/components/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);
« no previous file with comments | « no previous file | components/html_viewer/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698