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 "chrome/browser/task_manager/providers/task.h" | 5 #include "chrome/browser/task_manager/providers/task.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 | 137 |
138 bool Task::ReportsWebCacheStats() const { | 138 bool Task::ReportsWebCacheStats() const { |
139 return false; | 139 return false; |
140 } | 140 } |
141 | 141 |
142 blink::WebCache::ResourceTypeStats Task::GetWebCacheStats() const { | 142 blink::WebCache::ResourceTypeStats Task::GetWebCacheStats() const { |
143 return blink::WebCache::ResourceTypeStats(); | 143 return blink::WebCache::ResourceTypeStats(); |
144 } | 144 } |
145 | 145 |
| 146 int Task::GetKeepaliveCount() const { |
| 147 return -1; |
| 148 } |
| 149 |
146 bool Task::ReportsNetworkUsage() const { | 150 bool Task::ReportsNetworkUsage() const { |
147 return network_usage_ != -1; | 151 return network_usage_ != -1; |
148 } | 152 } |
149 | 153 |
150 } // namespace task_manager | 154 } // namespace task_manager |
OLD | NEW |