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

Unified Diff: components/scheduler/child/scheduler_helper.h

Issue 1314903007: Implement WebFrameScheduler and WebPageScheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Record origin in TQM trace event Created 5 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: components/scheduler/child/scheduler_helper.h
diff --git a/components/scheduler/child/scheduler_helper.h b/components/scheduler/child/scheduler_helper.h
index 16dc77a40daf70dcb6c4076d5c68c8a2eb4b4f8f..b90115bc25f5a1b5d3a03c518639af687955ac7d 100644
--- a/components/scheduler/child/scheduler_helper.h
+++ b/components/scheduler/child/scheduler_helper.h
@@ -62,6 +62,9 @@ class SCHEDULER_EXPORT SchedulerHelper {
// Creates a new TaskQueue with the given |spec|.
scoped_refptr<TaskQueue> NewTaskQueue(const TaskQueue::Spec& spec);
+ // Unregisters a TaskQueue previously created by |NewTaskQueue()|.
+ void UnregisterTaskQueue(scoped_refptr<TaskQueue>& task_queue);
+
// Accessor methods.
base::TimeTicks Now() const;
base::TimeTicks NextPendingDelayedTaskRunTime() const;
« no previous file with comments | « no previous file | components/scheduler/child/scheduler_helper.cc » ('j') | components/scheduler/child/task_queue_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698