| Index: chrome/browser/memory/tab_manager_delegate_chromeos.h
|
| diff --git a/chrome/browser/memory/tab_manager_delegate_chromeos.h b/chrome/browser/memory/tab_manager_delegate_chromeos.h
|
| index 0b4fa54f960229b554ba18c5580b701637dcd95c..6a3858d4b61330052eb39288f8d66365aba16baa 100644
|
| --- a/chrome/browser/memory/tab_manager_delegate_chromeos.h
|
| +++ b/chrome/browser/memory/tab_manager_delegate_chromeos.h
|
| @@ -90,9 +90,9 @@ class TabManagerDelegate
|
|
|
| protected:
|
| // Sets oom_score_adj for a list of tabs.
|
| - // This is a delegator to to SetOomScoreAdjForTabsOnFileThread(),
|
| + // This is a delegator to to SetOomScoreAdjOnFileThread(),
|
| // also as a seam for unit test.
|
| - virtual void SetOomScoreAdjForTabs(
|
| + virtual void SetOomScoreAdj(
|
| const std::vector<std::pair<base::ProcessHandle, int>>& entries);
|
|
|
| // Kills an Arc process. Returns true if the kill request is successfully sent
|
| @@ -153,11 +153,8 @@ class TabManagerDelegate
|
| const TabStatsList& tab_list,
|
| const std::vector<arc::ArcProcess>& arc_processes);
|
|
|
| - // Sets oom_score_adj of an ARC app.
|
| - void SetOomScoreAdjForApp(int nspid, int score);
|
| -
|
| // Sets oom_score_adj for a list of tabs on the file thread.
|
| - void SetOomScoreAdjForTabsOnFileThread(
|
| + void SetOomScoreAdjOnFileThread(
|
| const std::vector<std::pair<base::ProcessHandle, int>>& entries);
|
|
|
| // Sets OOM score for processes in the range [|rbegin|, |rend|) to integers
|
|
|