diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 15:01:29 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 15:01:29 +0000 |
commit | f539333976d799cf69562263b7a5b52d6cb0fc36 (patch) | |
tree | c96e836d839a4db08c5ad46b4f4f89b9e7850c87 /base/debug_util_win.cc | |
parent | 7152c349d7b4704d951e97af42d33cab1753ea7e (diff) | |
download | chromium_src-f539333976d799cf69562263b7a5b52d6cb0fc36.zip chromium_src-f539333976d799cf69562263b7a5b52d6cb0fc36.tar.gz chromium_src-f539333976d799cf69562263b7a5b52d6cb0fc36.tar.bz2 |
Reduce header dependencies in base/
Also adds more explicit #includes for needed things.
Review URL: http://codereview.chromium.org/118162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17479 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug_util_win.cc')
-rw-r--r-- | base/debug_util_win.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/debug_util_win.cc b/base/debug_util_win.cc index 5201283..dd67c17 100644 --- a/base/debug_util_win.cc +++ b/base/debug_util_win.cc @@ -7,6 +7,8 @@ #include <windows.h> #include <dbghelp.h> +#include <iostream> + #include "base/basictypes.h" #include "base/lock.h" #include "base/logging.h" @@ -130,7 +132,7 @@ class SymbolContext { // Returns the process this was initialized for. This should only be // called if Init() has been called. We LOG(ERROR) in this situation. - // LOG(FATAL) is not used because this code is might be triggered + // LOG(FATAL) is not used because this code is might be triggered // by a LOG(FATAL) itself. HANDLE process() { if (!initialized_) { @@ -146,7 +148,7 @@ class SymbolContext { // to the ostream os. The format for each line of the backtrace is: // // <tab>SymbolName[0xAddress+Offset] (FileName:LineNo) - // + // // This function should only be called if Init() has been called. We do not // LOG(FATAL) here because this code is called might be triggered by a // LOG(FATAL) itself. |