resource_provider.cc revision f2477e01787aa58f445919b809d89e252beef54f
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. 4 5#include "chrome/browser/task_manager/resource_provider.h" 6 7#include "third_party/WebKit/public/web/WebCache.h" 8 9namespace content { 10class WebContents; 11} 12 13namespace extensions { 14class Extension; 15} 16 17namespace task_manager { 18 19int Resource::GetRoutingID() const { 20 return 0; 21} 22 23bool Resource::ReportsCacheStats() const { 24 return false; 25} 26 27blink::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const { 28 return blink::WebCache::ResourceTypeStats(); 29} 30 31bool Resource::ReportsFPS() const { 32 return false; 33} 34 35float Resource::GetFPS() const { 36 return 0.0f; 37} 38 39bool Resource::ReportsSqliteMemoryUsed() const { 40 return false; 41} 42 43size_t Resource::SqliteMemoryUsedBytes() const { 44 return 0; 45} 46 47const extensions::Extension* Resource::GetExtension() const { 48 return NULL; 49} 50 51bool Resource::ReportsV8MemoryStats() const { 52 return false; 53} 54 55size_t Resource::GetV8MemoryAllocated() const { 56 return 0; 57} 58 59size_t Resource::GetV8MemoryUsed() const { 60 return 0; 61} 62 63bool Resource::CanInspect() const { 64 return false; 65} 66 67content::WebContents* Resource::GetWebContents() const { 68 return NULL; 69} 70 71bool Resource::IsBackground() const { 72 return false; 73} 74 75} // namespace task_manager 76