From e01f942655774bae103f142542ab678eec5bfeb5 Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Thu, 21 Aug 2008 19:18:23 +0000 Subject: Add net_util* to the SCons build. Fixes some ICU UChar issues in net_util. Also disable NetUtilTest.FileURLConversion because it seems to have Windows specific output (is this the right thing to do?). The other changes to net_util_unittest is to get arraysize to work (see the comment in base/basictypes.h). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1168 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/net_util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net/base/net_util.h') diff --git a/net/base/net_util.h b/net/base/net_util.h index 148ab5d..1b98695 100644 --- a/net/base/net_util.h +++ b/net/base/net_util.h @@ -120,11 +120,12 @@ void IDNToUnicode(const char* host, std::string CanonicalizeHost(const std::string& host, bool* is_ip_address); std::string CanonicalizeHost(const std::wstring& host, bool* is_ip_address); +#ifdef OS_WIN +// TODO: Port GetDirectoryListingEntry for OSX and linux. // Call these functions to get the html for a directory listing. // They will pass non-7bit-ascii characters unescaped, allowing // the browser to interpret the encoding (utf8, etc). std::string GetDirectoryListingHeader(const std::string& title); -#ifdef OS_WIN std::string GetDirectoryListingEntry(const std::string& name, DWORD attrib, int64 size, const FILETIME* modified); #endif -- cgit v1.1