summaryrefslogtreecommitdiffstats
path: root/net/base/net_util.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 23:58:23 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 23:58:23 +0000
commitf311bd71f1defeb33ec4903593e23061a913f992 (patch)
treed3dd7f2422d41b15946002bf582b07f919475046 /net/base/net_util.h
parent5dce90240ecb2259290cd3aa12294b832b09eee9 (diff)
downloadchromium_src-f311bd71f1defeb33ec4903593e23061a913f992.zip
chromium_src-f311bd71f1defeb33ec4903593e23061a913f992.tar.gz
chromium_src-f311bd71f1defeb33ec4903593e23061a913f992.tar.bz2
revert 5730
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r--net/base/net_util.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h
index f8f49b8..7adfc57 100644
--- a/net/base/net_util.h
+++ b/net/base/net_util.h
@@ -19,10 +19,6 @@
class GURL;
-namespace base {
-class Time;
-}
-
namespace net {
// Given the full path to a file name, creates a file: URL. The returned URL
@@ -99,12 +95,15 @@ 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);
-std::string GetDirectoryListingEntry(const std::string& name, bool is_dir,
- int64 size, const base::Time& modified);
+std::string GetDirectoryListingEntry(const std::string& name, DWORD attrib,
+ int64 size, const FILETIME* modified);
+#endif
// If text starts with "www." it is removed, otherwise text is returned
// unmodified.