1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/task_manager/resource_provider.h"
7 #include "third_party/WebKit/public/web/WebCache.h"
13 namespace extensions {
17 namespace task_manager {
19 int Resource::GetRoutingID() const {
23 bool Resource::ReportsCacheStats() const {
27 WebKit::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const {
28 return WebKit::WebCache::ResourceTypeStats();
31 bool Resource::ReportsFPS() const {
35 float Resource::GetFPS() const {
39 bool Resource::ReportsSqliteMemoryUsed() const {
43 size_t Resource::SqliteMemoryUsedBytes() const {
47 const extensions::Extension* Resource::GetExtension() const {
51 bool Resource::ReportsV8MemoryStats() const {
55 size_t Resource::GetV8MemoryAllocated() const {
59 size_t Resource::GetV8MemoryUsed() const {
63 bool Resource::CanInspect() const {
67 content::WebContents* Resource::GetWebContents() const {
71 bool Resource::IsBackground() const {
75 } // namespace task_manager