xref: /aosp_15_r20/external/cronet/base/debug/stack_trace_nacl.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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)11 StackTrace::StackTrace(size_t count) : StackTrace() {}
StackTrace(const void * const * trace,size_t count)12 StackTrace::StackTrace(const void* const* trace, size_t count) : StackTrace() {}
13 
Print() const14 void StackTrace::Print() const {}
15 
OutputToStream(std::ostream * os) const16 void StackTrace::OutputToStream(std::ostream* os) const {}
17 
ToString() const18 std::string StackTrace::ToString() const {
19   return {};
20 }
21 
ToStringWithPrefix(cstring_view prefix_string) const22 std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const {
23   return {};
24 }
25 
operator <<(std::ostream & os,const StackTrace & s)26 std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
27   return os;
28 }
29 
30 }  // namespace debug
31 }  // namespace base
32