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 #include "build/build_config.h" |
5 #include "chrome/browser/memory/tab_stats.h" | 6 #include "chrome/browser/memory/tab_stats.h" |
6 | 7 |
7 namespace memory { | 8 namespace memory { |
8 | 9 |
9 TabStats::TabStats() | 10 TabStats::TabStats() |
10 : is_app(false), | 11 : is_app(false), |
11 is_internal_page(false), | 12 is_internal_page(false), |
12 is_playing_audio(false), | 13 is_playing_audio(false), |
13 is_pinned(false), | 14 is_pinned(false), |
14 is_selected(false), | 15 is_selected(false), |
15 is_discarded(false), | 16 is_discarded(false), |
16 has_form_entry(false), | 17 has_form_entry(false), |
17 discard_count(0), | 18 discard_count(0), |
18 renderer_handle(0), | 19 renderer_handle(0), |
19 child_process_host_id(0), | 20 child_process_host_id(0), |
20 #if defined(OS_CHROMEOS) | 21 #if defined(OS_CHROMEOS) |
21 oom_score(0), | 22 oom_score(0), |
22 #endif | 23 #endif |
23 tab_contents_id(0) { | 24 tab_contents_id(0) { |
24 } | 25 } |
25 | 26 |
26 TabStats::~TabStats() { | 27 TabStats::~TabStats() { |
27 } | 28 } |
28 | 29 |
29 } // namespace memory | 30 } // namespace memory |
OLD | NEW |