Home | History | Annotate | Download | only in task_manager
      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 
      9 namespace content {
     10 class WebContents;
     11 }
     12 
     13 namespace extensions {
     14 class Extension;
     15 }
     16 
     17 namespace task_manager {
     18 
     19 int Resource::GetRoutingID() const {
     20   return 0;
     21 }
     22 
     23 bool Resource::ReportsCacheStats() const {
     24   return false;
     25 }
     26 
     27 blink::WebCache::ResourceTypeStats Resource::GetWebCoreCacheStats() const {
     28   return blink::WebCache::ResourceTypeStats();
     29 }
     30 
     31 bool Resource::ReportsSqliteMemoryUsed() const {
     32   return false;
     33 }
     34 
     35 size_t Resource::SqliteMemoryUsedBytes() const {
     36   return 0;
     37 }
     38 
     39 bool Resource::ReportsV8MemoryStats() const {
     40   return false;
     41 }
     42 
     43 size_t Resource::GetV8MemoryAllocated() const {
     44   return 0;
     45 }
     46 
     47 size_t Resource::GetV8MemoryUsed() const {
     48   return 0;
     49 }
     50 
     51 content::WebContents* Resource::GetWebContents() const {
     52   return NULL;
     53 }
     54 
     55 }  // namespace task_manager
     56