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

Side by Side Diff: third_party/WebKit/public/web/WebCache.h

Issue 2254593003: Remove purgedSize and purgeableSize from TypeStatistic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SharedBuffer_DoNotUnlock
Patch Set: Created 4 years, 4 months 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 | « third_party/WebKit/Source/web/WebCache.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 size_t liveSize; 47 size_t liveSize;
48 size_t deadSize; 48 size_t deadSize;
49 }; 49 };
50 50
51 // A struct mirroring blink::MemoryCache::TypeStatistic. 51 // A struct mirroring blink::MemoryCache::TypeStatistic.
52 struct ResourceTypeStat { 52 struct ResourceTypeStat {
53 size_t count; 53 size_t count;
54 size_t size; 54 size_t size;
55 size_t liveSize; 55 size_t liveSize;
56 size_t decodedSize; 56 size_t decodedSize;
57 size_t purgedSize;
58 size_t purgeableSize;
59 }; 57 };
60 58
61 // A struct mirroring blink::MemoryCache::Statistics. 59 // A struct mirroring blink::MemoryCache::Statistics.
62 struct ResourceTypeStats { 60 struct ResourceTypeStats {
63 ResourceTypeStat images; 61 ResourceTypeStat images;
64 ResourceTypeStat cssStyleSheets; 62 ResourceTypeStat cssStyleSheets;
65 ResourceTypeStat scripts; 63 ResourceTypeStat scripts;
66 ResourceTypeStat xslStyleSheets; 64 ResourceTypeStat xslStyleSheets;
67 ResourceTypeStat fonts; 65 ResourceTypeStat fonts;
68 ResourceTypeStat other; 66 ResourceTypeStat other;
(...skipping 15 matching lines...) Expand all
84 // Get usage stats about the resource cache. 82 // Get usage stats about the resource cache.
85 BLINK_EXPORT static void getResourceTypeStats(ResourceTypeStats*); 83 BLINK_EXPORT static void getResourceTypeStats(ResourceTypeStats*);
86 84
87 private: 85 private:
88 WebCache(); // Not intended to be instanced. 86 WebCache(); // Not intended to be instanced.
89 }; 87 };
90 88
91 } // namespace blink 89 } // namespace blink
92 90
93 #endif 91 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698