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

Unified Diff: components/metrics/profiler/tracking_synchronizer_observer.cc

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 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: components/metrics/profiler/tracking_synchronizer_observer.cc
diff --git a/components/metrics/profiler/tracking_synchronizer_observer.cc b/components/metrics/profiler/tracking_synchronizer_observer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..39309d3ffa4f1e97d0df6f54d642cd5cc836b7fb
--- /dev/null
+++ b/components/metrics/profiler/tracking_synchronizer_observer.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/metrics/profiler/tracking_synchronizer_observer.h"
+
+namespace metrics {
+
+ProfilerDataAttributes::ProfilerDataAttributes(
+ int profiling_phase,
+ base::ProcessId process_id,
+ content::ProcessType process_type,
+ base::TimeTicks phase_start,
+ base::TimeTicks phase_finish)
+ : profiling_phase(profiling_phase),
+ process_id(process_id),
+ process_type(process_type),
+ phase_start(phase_start),
+ phase_finish(phase_finish) {
+}
+
+} // namespace metrics

Powered by Google App Engine
This is Rietveld 408576698