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

Unified Diff: ui/android/resources/resource_manager.h

Issue 2440393002: [tracing] Implement composable memory usage estimators. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/resources/crushed_sprite_resource.cc ('k') | ui/android/resources/resource_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/resources/resource_manager.h
diff --git a/ui/android/resources/resource_manager.h b/ui/android/resources/resource_manager.h
index 9b207aa41f299f37fdb491e95ca1adf885108933..b812d109ab612683c0434d6387e847edb7fd9e10 100644
--- a/ui/android/resources/resource_manager.h
+++ b/ui/android/resources/resource_manager.h
@@ -46,6 +46,7 @@ class UI_ANDROID_EXPORT ResourceManager {
~Resource();
gfx::Rect Border(const gfx::Size& bounds) const;
gfx::Rect Border(const gfx::Size& bounds, const gfx::InsetsF& scale) const;
+ size_t EstimateMemoryUsage() const;
std::unique_ptr<cc::ScopedUIResource> ui_resource;
gfx::Size size;
« no previous file with comments | « ui/android/resources/crushed_sprite_resource.cc ('k') | ui/android/resources/resource_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698