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

Side by Side Diff: base/string_util_win.h

Issue 42011: Normalize end of file newlines in base/. All files end in a single newline. (Closed)
Patch Set: Revert changed to third_party. Created 11 years, 9 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
« no previous file with comments | « base/string_util_posix.h ('k') | base/sys_string_conversions_linux.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef BASE_STRING_UTIL_WIN_H_ 5 #ifndef BASE_STRING_UTIL_WIN_H_
6 #define BASE_STRING_UTIL_WIN_H_ 6 #define BASE_STRING_UTIL_WIN_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <string.h> 10 #include <string.h>
(...skipping 25 matching lines...) Expand all
36 36
37 int length = _vsnwprintf_s(buffer, size, size - 1, format, arguments); 37 int length = _vsnwprintf_s(buffer, size, size - 1, format, arguments);
38 if (length < 0) 38 if (length < 0)
39 return _vscwprintf(format, arguments); 39 return _vscwprintf(format, arguments);
40 return length; 40 return length;
41 } 41 }
42 42
43 } // namespace base 43 } // namespace base
44 44
45 #endif // BASE_STRING_UTIL_WIN_H_ 45 #endif // BASE_STRING_UTIL_WIN_H_
46
OLDNEW
« no previous file with comments | « base/string_util_posix.h ('k') | base/sys_string_conversions_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698