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

Side by Side Diff: base/logging.cc

Issue 3119022: Header cleanup in base.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
viettrungluu 2010/08/17 05:09:15 2010 ;)
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/logging.h" 5 #include "base/logging.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <io.h> 8 #include <io.h>
9 #include <windows.h> 9 #include <windows.h>
10 typedef HANDLE FileHandle; 10 typedef HANDLE FileHandle;
11 typedef HANDLE MutexHandle; 11 typedef HANDLE MutexHandle;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "base/base_switches.h" 43 #include "base/base_switches.h"
44 #include "base/command_line.h" 44 #include "base/command_line.h"
45 #include "base/debug_util.h" 45 #include "base/debug_util.h"
46 #include "base/eintr_wrapper.h" 46 #include "base/eintr_wrapper.h"
47 #include "base/lock_impl.h" 47 #include "base/lock_impl.h"
48 #if defined(OS_POSIX) 48 #if defined(OS_POSIX)
49 #include "base/safe_strerror_posix.h" 49 #include "base/safe_strerror_posix.h"
50 #endif 50 #endif
51 #include "base/process_util.h" 51 #include "base/process_util.h"
52 #include "base/string_piece.h" 52 #include "base/string_piece.h"
53 #include "base/string_util.h"
54 #include "base/utf_string_conversions.h" 53 #include "base/utf_string_conversions.h"
55 54
56 namespace logging { 55 namespace logging {
57 56
58 bool g_enable_dcheck = false; 57 bool g_enable_dcheck = false;
59 58
60 const char* const log_severity_names[LOG_NUM_SEVERITIES] = { 59 const char* const log_severity_names[LOG_NUM_SEVERITIES] = {
61 "INFO", "WARNING", "ERROR", "ERROR_REPORT", "FATAL" }; 60 "INFO", "WARNING", "ERROR", "ERROR_REPORT", "FATAL" };
62 61
63 int min_log_level = 0; 62 int min_log_level = 0;
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 731
733 if (level == LOG_FATAL) 732 if (level == LOG_FATAL)
734 DebugUtil::BreakDebugger(); 733 DebugUtil::BreakDebugger();
735 } 734 }
736 735
737 } // namespace logging 736 } // namespace logging
738 737
739 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { 738 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
740 return out << WideToUTF8(std::wstring(wstr)); 739 return out << WideToUTF8(std::wstring(wstr));
741 } 740 }
OLDNEW
« no previous file with comments | « base/linked_ptr_unittest.cc ('k') | base/message_loop.cc » ('j') | base/process_util_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698