OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ |
6 #define CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "base/gtest_prod_util.h" |
12 #include "base/process/process.h" | 13 #include "base/process/process.h" |
13 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
14 #include "chrome/browser/memory/tab_manager.h" | 15 #include "chrome/browser/memory/tab_manager.h" |
15 #include "chrome/browser/memory/tab_stats.h" | 16 #include "chrome/browser/memory/tab_stats.h" |
16 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
18 | 19 |
19 namespace memory { | 20 namespace memory { |
20 | 21 |
21 // The Chrome OS TabManagerDelegate is responsible for keeping the | 22 // The Chrome OS TabManagerDelegate is responsible for keeping the |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 ProcessScoreMap oom_score_map_; | 74 ProcessScoreMap oom_score_map_; |
74 // Holds the focused tab's child process host id. | 75 // Holds the focused tab's child process host id. |
75 ProcessInfo focused_tab_process_info_; | 76 ProcessInfo focused_tab_process_info_; |
76 | 77 |
77 DISALLOW_COPY_AND_ASSIGN(TabManagerDelegate); | 78 DISALLOW_COPY_AND_ASSIGN(TabManagerDelegate); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace memory | 81 } // namespace memory |
81 | 82 |
82 #endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ | 83 #endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ |
OLD | NEW |