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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2636873002: memory metrics: record growth after purging BG renderer's cache (Closed)
Patch Set: Added label to PurgeAndSuspendExperiment. Created 3 years, 11 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 | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 9c0cfe36b0375595663b96556f9d7484c5e57a97..5ec1c933cb193305f5dcc7199bda8e50dc8599b4 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -564,7 +564,8 @@ class CONTENT_EXPORT RenderThreadImpl
void OnRendererHidden();
void OnRendererVisible();
- void RecordPurgeAndSuspendMetrics() const;
+ void RecordPurgeAndSuspendMetrics();
+ void RecordPurgeAndSuspendMemoryGrowthMetrics() const;
void ReleaseFreeMemory();
@@ -763,6 +764,8 @@ class CONTENT_EXPORT RenderThreadImpl
thread_safe_render_message_filter_;
base::CancelableClosure record_purge_suspend_metric_closure_;
+ RendererMemoryMetrics purge_and_suspend_memory_metrics_;
+ base::CancelableClosure record_purge_suspend_growth_metric_closure_;
int32_t client_id_;
« no previous file with comments | « no previous file | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698