Home | History | Annotate | Download | only in debug
      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 
      7 namespace base {
      8 namespace debug {
      9 
     10 StackTrace::~StackTrace() {
     11 }
     12 
     13 const 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