OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/metrics/call_stack_profile_params.h" | 5 #include "components/metrics/call_stack_profile_params.h" |
6 | 6 |
7 namespace metrics { | 7 namespace metrics { |
8 | 8 |
9 CallStackProfileParams::CallStackProfileParams() | 9 CallStackProfileParams::CallStackProfileParams() |
10 : CallStackProfileParams(UNKNOWN) {} | 10 : CallStackProfileParams(UNKNOWN_PROCESS, UNKNOWN_THREAD, UNKNOWN) {} |
11 | 11 |
12 CallStackProfileParams::CallStackProfileParams(Trigger trigger) | 12 CallStackProfileParams::CallStackProfileParams(Process process, Thread thread, |
13 : CallStackProfileParams(trigger, MAY_SHUFFLE) {} | 13 Trigger trigger) |
| 14 : CallStackProfileParams(process, thread, trigger, MAY_SHUFFLE) {} |
14 | 15 |
15 CallStackProfileParams::CallStackProfileParams(Trigger trigger, | 16 CallStackProfileParams::CallStackProfileParams(Process process, Thread thread, |
| 17 Trigger trigger, |
16 SampleOrderingSpec ordering_spec) | 18 SampleOrderingSpec ordering_spec) |
17 : trigger(trigger), ordering_spec(ordering_spec) {} | 19 : process(process), thread(thread), trigger(trigger), |
| 20 ordering_spec(ordering_spec) {} |
18 | 21 |
19 } // namespace metrics | 22 } // namespace metrics |
OLD | NEW |