1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 7namespace base { 8namespace debug { 9 10StackTrace::~StackTrace() { 11} 12 13const void *const *StackTrace::Addresses(size_t* count) const { 14 *count = count_; 15 if (count_) 16 return trace_; 17 return NULL; 18} 19 20} // namespace debug 21} // namespace base 22