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 "base/profiler/native_stack_sampler.h" | 5 #include "base/profiler/native_stack_sampler.h" |
6 | 6 |
7 namespace base { | 7 namespace base { |
8 | 8 |
9 std::unique_ptr<NativeStackSampler> NativeStackSampler::Create( | 9 std::unique_ptr<NativeStackSampler> NativeStackSampler::Create( |
10 PlatformThreadId thread_id, | 10 PlatformThreadId thread_id, |
11 AnnotateCallback annotator, | 11 AnnotateCallback annotator, |
12 NativeStackSamplerTestDelegate* test_delegate) { | 12 NativeStackSamplerTestDelegate* test_delegate) { |
13 return std::unique_ptr<NativeStackSampler>(); | 13 return std::unique_ptr<NativeStackSampler>(); |
14 } | 14 } |
15 | 15 |
| 16 size_t NativeStackSampler::GetStackBufferSize() { |
| 17 return 0; |
| 18 } |
| 19 |
16 } // namespace base | 20 } // namespace base |
OLD | NEW |