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

Unified Diff: chrome/browser/metrics/chrome_metrics_service_client.h

Issue 1021053003: Delivering the FIRST_NONEMPTY_PAINT phase changing event to base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@phase_splitting
Patch Set: More isherman@ comments. Created 5 years, 8 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
Index: chrome/browser/metrics/chrome_metrics_service_client.h
diff --git a/chrome/browser/metrics/chrome_metrics_service_client.h b/chrome/browser/metrics/chrome_metrics_service_client.h
index 7456d1dc15065b07d4d2322ff0671c26a8eeb1fc..77b55826a20cf7226c55fab487f7c1c16cc3d061 100644
--- a/chrome/browser/metrics/chrome_metrics_service_client.h
+++ b/chrome/browser/metrics/chrome_metrics_service_client.h
@@ -101,8 +101,8 @@ class ChromeMetricsServiceClient
base::ProcessId process_id,
content::ProcessType process_type,
int profiling_phase,
- base::TimeDelta phase_start,
- base::TimeDelta phase_finish,
+ base::TimeTicks phase_start,
+ base::TimeTicks phase_finish,
const metrics::ProfilerEvents& past_profiler_events) override;
void FinishedReceivingProfilerData() override;
@@ -187,6 +187,9 @@ class ChromeMetricsServiceClient
base::WeakPtrFactory<ChromeMetricsServiceClient> weak_ptr_factory_;
+ // Time of this object's creation.
+ const base::TimeTicks start_time_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeMetricsServiceClient);
};

Powered by Google App Engine
This is Rietveld 408576698