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

Unified Diff: trunk/src/webkit/glue/webkit_glue.h

Issue 19888003: Revert 212927 "Move webkitplatformsupport_impl and related from ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/webkit/glue/resource_type.cc ('k') | trunk/src/webkit/glue/webkit_glue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/webkit/glue/webkit_glue.h
===================================================================
--- trunk/src/webkit/glue/webkit_glue.h (revision 212931)
+++ trunk/src/webkit/glue/webkit_glue.h (working copy)
@@ -46,6 +46,12 @@
// used to get memory usage statistics.
WEBKIT_GLUE_EXPORT int GetGlyphPageCount();
+// Returns an estimate of the memory usage of the renderer process. Different
+// platforms implement this function differently, and count in different
+// allocations. Results are not comparable across platforms. The estimate is
+// computed inside the sandbox and thus its not always accurate.
+WEBKIT_GLUE_EXPORT size_t MemoryUsageKB();
+
} // namespace webkit_glue
#endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
« no previous file with comments | « trunk/src/webkit/glue/resource_type.cc ('k') | trunk/src/webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698