Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: chrome/common/resource_usage_reporter.mojom

Issue 2476493002: Add chrome namespace to chrome/common/resource_usage_reporter.mojom (Closed)
Patch Set: Add chrome namespace to chrome/common/resource_usage_reporter.mojom Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/OWNERS ('k') | chrome/common/resource_usage_reporter_type_converters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « chrome/common/OWNERS ('k') | chrome/common/resource_usage_reporter_type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698