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

Side by Side Diff: base/logging.cc

Issue 15735027: Use a direct include of utf_string_conversions.h in android_webview/, apps/, ash/, base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « base/json/string_escape_unittest.cc ('k') | base/memory/shared_memory_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) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/posix/eintr_wrapper.h" 52 #include "base/posix/eintr_wrapper.h"
53 #include "base/strings/string_piece.h" 53 #include "base/strings/string_piece.h"
54 #include "base/strings/utf_string_conversions.h"
54 #include "base/synchronization/lock_impl.h" 55 #include "base/synchronization/lock_impl.h"
55 #include "base/threading/platform_thread.h" 56 #include "base/threading/platform_thread.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)
63 #include <android/log.h> 63 #include <android/log.h>
64 #endif 64 #endif
65 65
66 namespace logging { 66 namespace logging {
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 return *log_file_name; 869 return *log_file_name;
870 return std::wstring(); 870 return std::wstring();
871 } 871 }
872 #endif 872 #endif
873 873
874 } // namespace logging 874 } // namespace logging
875 875
876 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { 876 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
877 return out << WideToUTF8(std::wstring(wstr)); 877 return out << WideToUTF8(std::wstring(wstr));
878 } 878 }
OLDNEW
« no previous file with comments | « base/json/string_escape_unittest.cc ('k') | base/memory/shared_memory_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698