1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 // This is a dummy version of Chromium source file base/debug/stack_trace.h 8 // to provide a dummy class StackTrace. 9 10 #ifndef BASE_DEBUG_STACK_TRACE_H_ 11 #define BASE_DEBUG_STACK_TRACE_H_ 12 13 #include <iosfwd> 14 15 namespace base { 16 namespace debug { 17 18 class BASE_EXPORT StackTrace { 19 public: StackTrace()20 StackTrace() {}; 21 22 #if !defined(__UCLIBC__) & !defined(_AIX) OutputToStream(std::ostream *)23 void OutputToStream(std::ostream*) const {} 24 #endif 25 }; 26 27 } // namespace debug 28 } // namespace base 29 30 #endif // BASE_DEBUG_STACK_TRACE_H_ 31