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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2643723007: time metric: record elapsed time from when the backgrounded and purged renderer is foregrounded unti (Closed)
Patch Set: Fixed. Created 3 years, 10 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 9a4affd3e7d5b02cb94bf02d5b66c63f8e265541..3924b34010864a3e7f5721702d1d27238ee2b65b 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -497,6 +497,10 @@ class CONTENT_EXPORT RenderThreadImpl
};
void GetRendererMemoryMetrics(RendererMemoryMetrics* memory_metrics) const;
+ bool NeedsToRecordFirstActivePaint() const {
+ return needs_to_record_first_active_paint_;
+ }
+
protected:
RenderThreadImpl(
const InProcessChildThreadParams& params,
@@ -767,6 +771,7 @@ class CONTENT_EXPORT RenderThreadImpl
base::CancelableClosure record_purge_suspend_metric_closure_;
RendererMemoryMetrics purge_and_suspend_memory_metrics_;
base::CancelableClosure record_purge_suspend_growth_metric_closure_;
+ bool needs_to_record_first_active_paint_;
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