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

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

Issue 1549043002: Switch to standard integer types in base/debug/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/debug/crash_logging_unittest.cc ('k') | base/debug/debugger_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) 2011 The Chromium Authors. All rights reserved. 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 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 "base/logging.h" 6 #include "base/logging.h"
7 #include "base/threading/platform_thread.h" 7 #include "base/threading/platform_thread.h"
8 #include "build/build_config.h"
8 9
9 namespace base { 10 namespace base {
10 namespace debug { 11 namespace debug {
11 12
12 static bool is_debug_ui_suppressed = false; 13 static bool is_debug_ui_suppressed = false;
13 14
14 bool WaitForDebugger(int wait_seconds, bool silent) { 15 bool WaitForDebugger(int wait_seconds, bool silent) {
15 #if defined(OS_ANDROID) 16 #if defined(OS_ANDROID)
16 // The pid from which we know which process to attach to are not output by 17 // The pid from which we know which process to attach to are not output by
17 // android ddms, so we have to print it out explicitly. 18 // android ddms, so we have to print it out explicitly.
(...skipping 14 matching lines...) Expand all
32 void SetSuppressDebugUI(bool suppress) { 33 void SetSuppressDebugUI(bool suppress) {
33 is_debug_ui_suppressed = suppress; 34 is_debug_ui_suppressed = suppress;
34 } 35 }
35 36
36 bool IsDebugUISuppressed() { 37 bool IsDebugUISuppressed() {
37 return is_debug_ui_suppressed; 38 return is_debug_ui_suppressed;
38 } 39 }
39 40
40 } // namespace debug 41 } // namespace debug
41 } // namespace base 42 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/crash_logging_unittest.cc ('k') | base/debug/debugger_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698