| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_STRINGPRINTF_H_ | 5 #ifndef BASE_STRINGPRINTF_H_ |
| 6 #define BASE_STRINGPRINTF_H_ | 6 #define BASE_STRINGPRINTF_H_ |
| 7 | 7 |
| 8 #include <stdarg.h> // va_list | 8 #include <stdarg.h> // va_list |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 void StringAppendV(std::wstring* dst, const wchar_t* format, va_list ap) | 42 void StringAppendV(std::wstring* dst, const wchar_t* format, va_list ap) |
| 43 WPRINTF_FORMAT(2, 0); | 43 WPRINTF_FORMAT(2, 0); |
| 44 | 44 |
| 45 } // namespace base | 45 } // namespace base |
| 46 | 46 |
| 47 // Don't require the namespace for legacy code. New code should use "base::" or | 47 // Don't require the namespace for legacy code. New code should use "base::" or |
| 48 // have its own using decl. | 48 // have its own using decl. |
| 49 // | 49 // |
| 50 // TODO(brettw) remove these when calling code is converted. | 50 // TODO(brettw) remove these when calling code is converted. |
| 51 using base::StringPrintf; | 51 using base::StringPrintf; |
| 52 using base::StringPrintV; | |
| 53 using base::SStringPrintf; | 52 using base::SStringPrintf; |
| 54 using base::StringAppendV; | 53 using base::StringAppendV; |
| 55 using base::StringAppendF; | 54 using base::StringAppendF; |
| 56 using base::StringAppendV; | 55 using base::StringAppendV; |
| 57 | 56 |
| 58 #endif // BASE_STRINGPRINTF_H_ | 57 #endif // BASE_STRINGPRINTF_H_ |
| OLD | NEW |