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

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

Issue 693773003: Cleanup various includes and namespace references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 6 years, 1 month 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
« no previous file with comments | « no previous file | base/test/multiprocess_test_android.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/debug/stack_trace.h" 5 #include "base/debug/stack_trace.h"
6 6
7 #include <android/log.h> 7 #include <android/log.h>
8 #include <unwind.h> 8 #include <unwind.h>
9 #include <ostream>
9 10
10 #include "base/debug/proc_maps_linux.h" 11 #include "base/debug/proc_maps_linux.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "base/threading/thread_restrictions.h" 13 #include "base/threading/thread_restrictions.h"
13 14
14 #ifdef __LP64__ 15 #ifdef __LP64__
15 #define FMT_ADDR "0x%016lx" 16 #define FMT_ADDR "0x%016lx"
16 #else 17 #else
17 #define FMT_ADDR "0x%08x" 18 #define FMT_ADDR "0x%08x"
18 #endif 19 #endif
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 } else { 120 } else {
120 *os << "<unknown>"; 121 *os << "<unknown>";
121 } 122 }
122 123
123 *os << "\n"; 124 *os << "\n";
124 } 125 }
125 } 126 }
126 127
127 } // namespace debug 128 } // namespace debug
128 } // namespace base 129 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | base/test/multiprocess_test_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698