OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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/resource_provider.h" | 5 #include "chrome/browser/task_manager/resource_provider.h" |
6 | 6 |
7 #include "third_party/WebKit/public/web/WebCache.h" | 7 #include "third_party/WebKit/public/web/WebCache.h" |
8 | 8 |
9 namespace content { | 9 namespace content { |
10 class WebContents; | 10 class WebContents; |
(...skipping 10 matching lines...) Expand all Loading... |
21 } | 21 } |
22 | 22 |
23 bool Resource::ReportsCacheStats() const { | 23 bool Resource::ReportsCacheStats() const { |
24 return false; | 24 return false; |
25 } | 25 } |
26 | 26 |
27 blink::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const { | 27 blink::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const { |
28 return blink::WebCache::ResourceTypeStats(); | 28 return blink::WebCache::ResourceTypeStats(); |
29 } | 29 } |
30 | 30 |
31 bool Resource::ReportsFPS() const { | |
32 return false; | |
33 } | |
34 | |
35 float Resource::GetFPS() const { | |
36 return 0.0f; | |
37 } | |
38 | |
39 bool Resource::ReportsSqliteMemoryUsed() const { | 31 bool Resource::ReportsSqliteMemoryUsed() const { |
40 return false; | 32 return false; |
41 } | 33 } |
42 | 34 |
43 size_t Resource::SqliteMemoryUsedBytes() const { | 35 size_t Resource::SqliteMemoryUsedBytes() const { |
44 return 0; | 36 return 0; |
45 } | 37 } |
46 | 38 |
47 bool Resource::ReportsV8MemoryStats() const { | 39 bool Resource::ReportsV8MemoryStats() const { |
48 return false; | 40 return false; |
49 } | 41 } |
50 | 42 |
51 size_t Resource::GetV8MemoryAllocated() const { | 43 size_t Resource::GetV8MemoryAllocated() const { |
52 return 0; | 44 return 0; |
53 } | 45 } |
54 | 46 |
55 size_t Resource::GetV8MemoryUsed() const { | 47 size_t Resource::GetV8MemoryUsed() const { |
56 return 0; | 48 return 0; |
57 } | 49 } |
58 | 50 |
59 bool Resource::CanInspect() const { | 51 bool Resource::CanInspect() const { |
60 return false; | 52 return false; |
61 } | 53 } |
62 | 54 |
63 content::WebContents* Resource::GetWebContents() const { | 55 content::WebContents* Resource::GetWebContents() const { |
64 return NULL; | 56 return NULL; |
65 } | 57 } |
66 | 58 |
67 } // namespace task_manager | 59 } // namespace task_manager |
OLD | NEW |