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

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

Issue 2195873002: Fix task groups to always be self-consistent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ahmed Created 4 years, 5 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_tester.h
diff --git a/chrome/browser/task_management/task_manager_tester.h b/chrome/browser/task_management/task_manager_tester.h
index 44e69350d2e61f0b9b48443baaecb644cd38c943..be9964724615b57927e75198d47d42a30834ebff 100644
--- a/chrome/browser/task_management/task_manager_tester.h
+++ b/chrome/browser/task_management/task_manager_tester.h
@@ -51,6 +51,10 @@ class TaskManagerTester {
// Kill the process of |row|.
virtual void Kill(int row) = 0;
+ // Gets the start index and length of the group to which the task at
+ // |row_index| belongs.
+ virtual void GetRowsGroupRange(int row, int* out_start, int* out_length) = 0;
+
private:
// Always creates a tester for the non-legacy TaskManager.
static std::unique_ptr<TaskManagerTester> CreateDefault(
« no previous file with comments | « chrome/browser/task_management/task_manager_browsertest.cc ('k') | chrome/browser/task_management/task_manager_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698