1 // Copyright 2020 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "base/debug/stack_trace.h" 6 7 namespace base { 8 namespace debug { 9 10 StackTrace::StackTrace() = default; StackTrace(size_t count)11StackTrace::StackTrace(size_t count) : StackTrace() {} StackTrace(const void * const * trace,size_t count)12StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {} 13 Print() const14void StackTrace::Print() const {} 15 OutputToStream(std::ostream * os) const16void StackTrace::OutputToStream(std::ostream* os) const {} 17 ToString() const18std::string StackTrace::ToString() const { 19 return {}; 20 } 21 ToStringWithPrefix(cstring_view prefix_string) const22std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const { 23 return {}; 24 } 25 operator <<(std::ostream & os,const StackTrace & s)26std::ostream& operator<<(std::ostream& os, const StackTrace& s) { 27 return os; 28 } 29 30 } // namespace debug 31 } // namespace base 32