OLD | NEW |
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/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; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include <cstring> | 42 #include <cstring> |
43 #include <ctime> | 43 #include <ctime> |
44 #include <iomanip> | 44 #include <iomanip> |
45 #include <ostream> | 45 #include <ostream> |
46 | 46 |
47 #include "base/base_switches.h" | 47 #include "base/base_switches.h" |
48 #include "base/command_line.h" | 48 #include "base/command_line.h" |
49 #include "base/debug/alias.h" | 49 #include "base/debug/alias.h" |
50 #include "base/debug/debugger.h" | 50 #include "base/debug/debugger.h" |
51 #include "base/debug/stack_trace.h" | 51 #include "base/debug/stack_trace.h" |
52 #include "base/eintr_wrapper.h" | 52 #include "base/posix/eintr_wrapper.h" |
53 #include "base/string_piece.h" | 53 #include "base/string_piece.h" |
54 #include "base/synchronization/lock_impl.h" | 54 #include "base/synchronization/lock_impl.h" |
55 #include "base/threading/platform_thread.h" | 55 #include "base/threading/platform_thread.h" |
56 #include "base/utf_string_conversions.h" | 56 #include "base/utf_string_conversions.h" |
57 #include "base/vlog.h" | 57 #include "base/vlog.h" |
58 #if defined(OS_POSIX) | 58 #if defined(OS_POSIX) |
59 #include "base/safe_strerror_posix.h" | 59 #include "base/safe_strerror_posix.h" |
60 #endif | 60 #endif |
61 | 61 |
62 #if defined(OS_ANDROID) | 62 #if defined(OS_ANDROID) |
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 } | 852 } |
853 | 853 |
854 // This was defined at the beginning of this file. | 854 // This was defined at the beginning of this file. |
855 #undef write | 855 #undef write |
856 | 856 |
857 } // namespace logging | 857 } // namespace logging |
858 | 858 |
859 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { | 859 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { |
860 return out << WideToUTF8(std::wstring(wstr)); | 860 return out << WideToUTF8(std::wstring(wstr)); |
861 } | 861 } |
OLD | NEW |