| 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..09f2f30586d5f6f4898cc16c0870c009c6592cff
|
| --- /dev/null
|
| +++ b/content/common/profiled_stack_state.cc
|
| @@ -0,0 +1,27 @@
|
| +// 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"
|
| +
|
| +#include "base/time/time.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
|
|
|