Index: content/common/profiled_stack_state.cc |
diff --git a/content/common/profiled_stack_state.cc b/content/common/profiled_stack_state.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..18fe2f3b51db3c3eb92c70ec3fbecac8d548e8c0 |
--- /dev/null |
+++ b/content/common/profiled_stack_state.cc |
@@ -0,0 +1,25 @@ |
+// Copyright 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 "content/common/profiled_stack_state.h" |
+ |
+namespace content { |
+ |
+ProfiledStackState::ProfiledStackState( |
+ content::ProfiledStackState::Trigger trigger, |
+ bool preserve_sample_ordering, |
+ base::TimeTicks start_timestamp, |
+ const base::StackSamplingProfiler::CallStackProfiles& profiles) |
+ : trigger(trigger), |
+ preserve_sample_ordering(preserve_sample_ordering), |
+ start_timestamp(start_timestamp), |
+ profiles(profiles) {} |
+ |
+ProfiledStackState::ProfiledStackState() |
+ : trigger(content::ProfiledStackState::UNKNOWN), |
+ preserve_sample_ordering(false) {} |
+ |
+ProfiledStackState::~ProfiledStackState() {} |
+ |
+} // namespace content |