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_STATS_H_ | 5 #ifndef CHROME_BROWSER_MEMORY_TAB_STATS_H_ |
6 #define CHROME_BROWSER_MEMORY_TAB_STATS_H_ | 6 #define CHROME_BROWSER_MEMORY_TAB_STATS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 23 matching lines...) Expand all Loading... |
34 int discard_count; | 34 int discard_count; |
35 base::TimeTicks last_active; | 35 base::TimeTicks last_active; |
36 content::RenderProcessHost* render_process_host; | 36 content::RenderProcessHost* render_process_host; |
37 base::ProcessHandle renderer_handle; | 37 base::ProcessHandle renderer_handle; |
38 int child_process_host_id; | 38 int child_process_host_id; |
39 base::string16 title; | 39 base::string16 title; |
40 #if defined(OS_CHROMEOS) | 40 #if defined(OS_CHROMEOS) |
41 int oom_score; | 41 int oom_score; |
42 #endif | 42 #endif |
43 int64_t tab_contents_id; // Unique ID per WebContents. | 43 int64_t tab_contents_id; // Unique ID per WebContents. |
| 44 bool is_auto_discardable; |
44 }; | 45 }; |
45 | 46 |
46 typedef std::vector<TabStats> TabStatsList; | 47 typedef std::vector<TabStats> TabStatsList; |
47 | 48 |
48 } // namespace memory | 49 } // namespace memory |
49 | 50 |
50 #endif // CHROME_BROWSER_MEMORY_TAB_STATS_H_ | 51 #endif // CHROME_BROWSER_MEMORY_TAB_STATS_H_ |
OLD | NEW |