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/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
13 #include "base/process/process.h" | 14 #include "base/process/process.h" |
14 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
15 #include "chrome/browser/memory/tab_manager.h" | 16 #include "chrome/browser/memory/tab_manager.h" |
16 #include "chrome/browser/memory/tab_stats.h" | 17 #include "chrome/browser/memory/tab_stats.h" |
17 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
18 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
19 | 20 |
20 namespace memory { | 21 namespace memory { |
21 | 22 |
22 // The Chrome OS TabManagerDelegate is responsible for keeping the | 23 // The Chrome OS TabManagerDelegate is responsible for keeping the |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 ProcessScoreMap oom_score_map_; | 75 ProcessScoreMap oom_score_map_; |
75 // Holds the focused tab's child process host id. | 76 // Holds the focused tab's child process host id. |
76 ProcessInfo focused_tab_process_info_; | 77 ProcessInfo focused_tab_process_info_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(TabManagerDelegate); | 79 DISALLOW_COPY_AND_ASSIGN(TabManagerDelegate); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace memory | 82 } // namespace memory |
82 | 83 |
83 #endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ | 84 #endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_DELEGATE_CHROMEOS_H_ |
OLD | NEW |