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

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

Issue 1160373004: Move safe_strerror to posix directory and the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 6 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
« no previous file with comments | « base/base.gypi ('k') | base/logging.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/debugger.h" 5 #include "base/debug/debugger.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 #include <errno.h> 8 #include <errno.h>
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 20 matching lines...) Expand all
31 #if defined(OS_FREEBSD) 31 #if defined(OS_FREEBSD)
32 #include <sys/user.h> 32 #include <sys/user.h>
33 #endif 33 #endif
34 34
35 #include <ostream> 35 #include <ostream>
36 36
37 #include "base/basictypes.h" 37 #include "base/basictypes.h"
38 #include "base/logging.h" 38 #include "base/logging.h"
39 #include "base/memory/scoped_ptr.h" 39 #include "base/memory/scoped_ptr.h"
40 #include "base/posix/eintr_wrapper.h" 40 #include "base/posix/eintr_wrapper.h"
41 #include "base/safe_strerror_posix.h"
42 #include "base/strings/string_piece.h" 41 #include "base/strings/string_piece.h"
43 42
44 #if defined(USE_SYMBOLIZE) 43 #if defined(USE_SYMBOLIZE)
45 #include "base/third_party/symbolize/symbolize.h" 44 #include "base/third_party/symbolize/symbolize.h"
46 #endif 45 #endif
47 46
48 #if defined(OS_ANDROID) 47 #if defined(OS_ANDROID)
49 #include "base/threading/platform_thread.h" 48 #include "base/threading/platform_thread.h"
50 #endif 49 #endif
51 50
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // attach the debugger, inspect the state of the program and then resume it by 245 // attach the debugger, inspect the state of the program and then resume it by
247 // setting the 'go' variable above. 246 // setting the 'go' variable above.
248 #elif defined(NDEBUG) 247 #elif defined(NDEBUG)
249 // Terminate the program after signaling the debug break. 248 // Terminate the program after signaling the debug break.
250 _exit(1); 249 _exit(1);
251 #endif 250 #endif
252 } 251 }
253 252
254 } // namespace debug 253 } // namespace debug
255 } // namespace base 254 } // namespace base
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698