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

Unified Diff: net/base/net_util.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leiz Created 8 years, 3 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 | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | net/base/x509_util_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.cc
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 55ad010d0cb1488d9268f9249fc8449c26f08034..e40c822ca59527cd8bbe2c74090010b1ae431489 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -165,6 +165,7 @@ static const int kAllowedFtpPorts[] = {
22, // ssh
};
+#if defined(OS_WIN)
std::string::size_type CountTrailingChars(
const std::string& input,
const std::string::value_type trailing_chars[]) {
@@ -172,6 +173,7 @@ std::string::size_type CountTrailingChars(
return (last_good_char == std::string::npos) ?
input.length() : (input.length() - last_good_char - 1);
}
+#endif
// Similar to Base64Decode. Decodes a Q-encoded string to a sequence
// of bytes. If input is invalid, return false.
« no previous file with comments | « content/renderer/pepper/pepper_url_request_unittest.cc ('k') | net/base/x509_util_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698