Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / task_manager / resource_provider.cc
blob04b6bc50292c1352491ef3753c1759d6df89936e
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"
9 namespace content {
10 class WebContents;
13 namespace extensions {
14 class Extension;
17 namespace task_manager {
19 int Resource::GetRoutingID() const {
20 return 0;
23 bool Resource::ReportsCacheStats() const {
24 return false;
27 blink::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const {
28 return blink::WebCache::ResourceTypeStats();
31 bool Resource::ReportsFPS() const {
32 return false;
35 float Resource::GetFPS() const {
36 return 0.0f;
39 bool Resource::ReportsSqliteMemoryUsed() const {
40 return false;
43 size_t Resource::SqliteMemoryUsedBytes() const {
44 return 0;
47 const extensions::Extension* Resource::GetExtension() const {
48 return NULL;
51 bool Resource::ReportsV8MemoryStats() const {
52 return false;
55 size_t Resource::GetV8MemoryAllocated() const {
56 return 0;
59 size_t Resource::GetV8MemoryUsed() const {
60 return 0;
63 int Resource::GetNaClDebugStubPort() const {
64 return 0;
67 bool Resource::CanInspect() const {
68 return false;
71 content::WebContents* Resource::GetWebContents() const {
72 return NULL;
75 bool Resource::IsBackground() const {
76 return false;
79 } // namespace task_manager