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

Unified Diff: base/string_util.h

Issue 17014: Remove compatibility #defines in string_util.h (Closed)
Patch Set: Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/navigation_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_util.h
diff --git a/base/string_util.h b/base/string_util.h
index 1c936b77750d07a8d8fae5705415841a13b507c9..601d1d87398e3317fe7a938951ff76666408e02b 100644
--- a/base/string_util.h
+++ b/base/string_util.h
@@ -105,15 +105,6 @@ bool IsWprintfFormatPortable(const wchar_t* format);
#error Define string operations appropriately for your platform
#endif
-// Old names for the above string functions, kept for compatibility.
-// TODO(evanm): excise all references to these old names.
-#define StrNCaseCmp base::strncasecmp
-#define SWPrintF base::swprintf
-#define VSNPrintF base::vsnprintf
-#define SNPrintF base::snprintf
-#define SWPrintF base::swprintf
-
-
// Returns a reference to a globally unique empty string that functions can
// return. Use this to avoid static construction of strings, not to replace
// any and all uses of "std::string()" as nicer-looking sugar.
« no previous file with comments | « no previous file | chrome/browser/navigation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698