OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 module mojom; | 5 module chrome.mojom; |
6 | 6 |
7 // Mirror of blink::WebCache::ResourceTypeStat. | 7 // Mirror of blink::WebCache::ResourceTypeStat. |
8 // Note: These are size_t in blink. | 8 // Note: These are size_t in blink. |
9 struct ResourceTypeStat { | 9 struct ResourceTypeStat { |
10 uint64 count = 0; | 10 uint64 count = 0; |
11 uint64 size = 0; | 11 uint64 size = 0; |
12 uint64 live_size = 0; | 12 uint64 live_size = 0; |
13 uint64 decoded_size = 0; | 13 uint64 decoded_size = 0; |
14 }; | 14 }; |
15 | 15 |
(...skipping 16 matching lines...) Expand all Loading... |
32 uint64 v8_bytes_allocated = 0; | 32 uint64 v8_bytes_allocated = 0; |
33 uint64 v8_bytes_used = 0; | 33 uint64 v8_bytes_used = 0; |
34 | 34 |
35 // Blink cache information. | 35 // Blink cache information. |
36 ResourceTypeStats? web_cache_stats; | 36 ResourceTypeStats? web_cache_stats; |
37 }; | 37 }; |
38 | 38 |
39 interface ResourceUsageReporter { | 39 interface ResourceUsageReporter { |
40 GetUsageData() => (ResourceUsageData data); | 40 GetUsageData() => (ResourceUsageData data); |
41 }; | 41 }; |
OLD | NEW |