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

Side by Side Diff: base/logging.cc

Issue 13374002: base: Update the include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/json_value_converter_unittest.cc ('k') | base/mac/mac_util.mm » ('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 11 matching lines...) Expand all
22 #include <sys/time.h> // timespec doesn't seem to be in <time.h> 22 #include <sys/time.h> // timespec doesn't seem to be in <time.h>
23 #else 23 #else
24 #include <sys/syscall.h> 24 #include <sys/syscall.h>
25 #endif 25 #endif
26 #include <time.h> 26 #include <time.h>
27 #endif 27 #endif
28 28
29 #if defined(OS_POSIX) 29 #if defined(OS_POSIX)
30 #include <errno.h> 30 #include <errno.h>
31 #include <pthread.h> 31 #include <pthread.h>
32 #include <stdio.h>
32 #include <stdlib.h> 33 #include <stdlib.h>
33 #include <stdio.h>
34 #include <string.h> 34 #include <string.h>
35 #include <unistd.h> 35 #include <unistd.h>
36 #define MAX_PATH PATH_MAX 36 #define MAX_PATH PATH_MAX
37 typedef FILE* FileHandle; 37 typedef FILE* FileHandle;
38 typedef pthread_mutex_t* MutexHandle; 38 typedef pthread_mutex_t* MutexHandle;
39 #endif 39 #endif
40 40
41 #include <algorithm> 41 #include <algorithm>
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/posix/eintr_wrapper.h" 52 #include "base/posix/eintr_wrapper.h"
53 #include "base/string_piece.h" 53 #include "base/strings/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)
63 #include <android/log.h> 63 #include <android/log.h>
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 return *log_file_name; 860 return *log_file_name;
861 return std::wstring(); 861 return std::wstring();
862 } 862 }
863 #endif 863 #endif
864 864
865 } // namespace logging 865 } // namespace logging
866 866
867 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) { 867 std::ostream& operator<<(std::ostream& out, const wchar_t* wstr) {
868 return out << WideToUTF8(std::wstring(wstr)); 868 return out << WideToUTF8(std::wstring(wstr));
869 } 869 }
OLDNEW
« no previous file with comments | « base/json/json_value_converter_unittest.cc ('k') | base/mac/mac_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698