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

Side by Side Diff: base/debug_util.h

Issue 3173020: FBTF: Remove unneeded #includes of <string> and <vector> from src/app and src/base. (Closed)
Patch Set: argh Created 10 years, 4 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 | « app/theme_provider.h ('k') | base/event_recorder.h » ('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) 2006-2009 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 // This is a cross platform interface for helper functions related to debuggers. 5 // This is a cross platform interface for helper functions related to debuggers.
6 // You should use this to test if you're running under a debugger, and if you 6 // You should use this to test if you're running under a debugger, and if you
7 // would like to yield (breakpoint) into the debugger. 7 // would like to yield (breakpoint) into the debugger.
8 8
9 #ifndef BASE_DEBUG_UTIL_H_ 9 #ifndef BASE_DEBUG_UTIL_H_
10 #define BASE_DEBUG_UTIL_H_ 10 #define BASE_DEBUG_UTIL_H_
11 #pragma once 11 #pragma once
12 12
13 #include <iosfwd> 13 #include <iosfwd>
14 #include <vector>
15 14
16 #include "base/basictypes.h" 15 #include "base/basictypes.h"
17 16
18 #if defined(OS_WIN) 17 #if defined(OS_WIN)
19 struct _EXCEPTION_POINTERS; 18 struct _EXCEPTION_POINTERS;
20 #endif 19 #endif
21 20
22 // A stacktrace can be helpful in debugging. For example, you can include a 21 // A stacktrace can be helpful in debugging. For example, you can include a
23 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you 22 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
24 // can later see where the given object was created from. 23 // can later see where the given object was created from.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 suppress_dialogs_ = true; 87 suppress_dialogs_ = true;
89 } 88 }
90 89
91 private: 90 private:
92 // If true, avoid displaying any dialogs that could cause problems 91 // If true, avoid displaying any dialogs that could cause problems
93 // in non-interactive environments. 92 // in non-interactive environments.
94 static bool suppress_dialogs_; 93 static bool suppress_dialogs_;
95 }; 94 };
96 95
97 #endif // BASE_DEBUG_UTIL_H_ 96 #endif // BASE_DEBUG_UTIL_H_
OLDNEW
« no previous file with comments | « app/theme_provider.h ('k') | base/event_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698