Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: base/debug/stack_trace.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/debug/profiler.cc ('k') | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h>
6
5 #include "base/debug/stack_trace.h" 7 #include "base/debug/stack_trace.h"
6 8
7 namespace base { 9 namespace base {
8 namespace debug { 10 namespace debug {
9 11
10 StackTrace::~StackTrace() { 12 StackTrace::~StackTrace() {
11 } 13 }
12 14
13 const void *const *StackTrace::Addresses(size_t* count) { 15 const void *const *StackTrace::Addresses(size_t* count) {
14 *count = count_; 16 *count = count_;
15 if (count_) 17 if (count_)
16 return trace_; 18 return trace_;
17 return NULL; 19 return NULL;
18 } 20 }
19 21
20 } // namespace debug 22 } // namespace debug
21 } // namespace base 23 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/profiler.cc ('k') | base/debug/stack_trace_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698