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

Side by Side Diff: base/allocator/unittest_utils.cc

Issue 434067: Branch the files in the shim layer that switches between the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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/allocator/prep_libc.sh ('k') | base/allocator/win_allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // The unittests need a this in order to link up without pulling in tons 5 // The unittests need a this in order to link up without pulling in tons
6 // of other libraries 6 // of other libraries
7 7
8 #include <config.h> 8 #include <config.h>
9 9
10 inline int snprintf(char* buffer, size_t count, const char* format, ...) { 10 inline int snprintf(char* buffer, size_t count, const char* format, ...) {
11 int result; 11 int result;
12 va_list args; 12 va_list args;
13 va_start(args, format); 13 va_start(args, format);
14 result = _vsnprintf(buffer, count, format, args); 14 result = _vsnprintf(buffer, count, format, args);
15 va_end(args); 15 va_end(args);
16 return result; 16 return result;
17 } 17 }
18 18
OLDNEW
« no previous file with comments | « base/allocator/prep_libc.sh ('k') | base/allocator/win_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698