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

Unified Diff: chrome/browser/task_management/task_manager_observer.h

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dispatch onCreated and onExited only for processes with valid child process host IDs Created 4 years, 10 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: chrome/browser/task_management/task_manager_observer.h
diff --git a/chrome/browser/task_management/task_manager_observer.h b/chrome/browser/task_management/task_manager_observer.h
index 408d2a87f6ab73f131ca34741b2a7832803e54a0..3fe0544a5ba97af218d71508a8feb9b9805bbdca 100644
--- a/chrome/browser/task_management/task_manager_observer.h
+++ b/chrome/browser/task_management/task_manager_observer.h
@@ -86,6 +86,10 @@ class TaskManagerObserver {
// IDs themselves.
virtual void OnTasksRefreshed(const TaskIdList& task_ids) = 0;
+ // Notifies the observer that the task with |id| is running on a renderer that
+ // has become unresponsive.
+ virtual void OnTaskUnresponsive(TaskId id) {}
+
const base::TimeDelta& desired_refresh_time() const {
return desired_refresh_time_;
}

Powered by Google App Engine
This is Rietveld 408576698