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; |
11 } | 11 } |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 class Extension; | 14 class Extension; |
15 } | 15 } |
16 | 16 |
17 namespace task_manager { | 17 namespace task_manager { |
18 | 18 |
19 int Resource::GetRoutingID() const { | 19 int Resource::GetRoutingID() const { |
20 return 0; | 20 return 0; |
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 WebKit::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const { | 27 blink::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const { |
28 return WebKit::WebCache::ResourceTypeStats(); | 28 return blink::WebCache::ResourceTypeStats(); |
29 } | 29 } |
30 | 30 |
31 bool Resource::ReportsFPS() const { | 31 bool Resource::ReportsFPS() const { |
32 return false; | 32 return false; |
33 } | 33 } |
34 | 34 |
35 float Resource::GetFPS() const { | 35 float Resource::GetFPS() const { |
36 return 0.0f; | 36 return 0.0f; |
37 } | 37 } |
38 | 38 |
(...skipping 27 matching lines...) Expand all Loading... |
66 | 66 |
67 content::WebContents* Resource::GetWebContents() const { | 67 content::WebContents* Resource::GetWebContents() const { |
68 return NULL; | 68 return NULL; |
69 } | 69 } |
70 | 70 |
71 bool Resource::IsBackground() const { | 71 bool Resource::IsBackground() const { |
72 return false; | 72 return false; |
73 } | 73 } |
74 | 74 |
75 } // namespace task_manager | 75 } // namespace task_manager |
OLD | NEW |