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

Unified Diff: base/strings/string_util_win.h

Issue 1117013006: Pull string_util for posix too (Closed) Base URL: https://chromium.googlesource.com/chromium/mini_chromium@master
Patch Set: . Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/strings/string_util_posix.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/strings/string_util_win.h
diff --git a/base/strings/string_util_win.h b/base/strings/string_util_win.h
index fa2fadbebaf5e344d3f79a249d5f4e5904e61791..1b3fe6e0a0deda5340207f03ca78874eb8ccd0c4 100644
--- a/base/strings/string_util_win.h
+++ b/base/strings/string_util_win.h
@@ -5,11 +5,7 @@
#ifndef BASE_STRINGS_STRING_UTIL_WIN_H_
#define BASE_STRINGS_STRING_UTIL_WIN_H_
-#include <stdio.h>
#include <string.h>
-#include <wchar.h>
-
-#include "base/strings/string16.h"
namespace base {
@@ -27,10 +23,6 @@ inline int strncasecmp(const char* s1, const char* s2, size_t count) {
return _strnicmp(s1, s2, count);
}
-inline int strncmp16(const char16* s1, const char16* s2, size_t count) {
- return wcsncmp(s1, s2, count);
-}
-
} // namespace base
#endif // BASE_STRINGS_STRING_UTIL_WIN_H_
« no previous file with comments | « base/strings/string_util_posix.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698