diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 20:46:06 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-04 20:46:06 +0000 |
commit | ceeb87e90224c8743995b999661eede7c31b6346 (patch) | |
tree | 459f0698b022e42ead17cb742be9ff7f9d1b441f /net/base/net_util.h | |
parent | f3208bd4c625527d854c3bf49908352199488c48 (diff) | |
download | chromium_src-ceeb87e90224c8743995b999661eede7c31b6346.zip chromium_src-ceeb87e90224c8743995b999661eede7c31b6346.tar.gz chromium_src-ceeb87e90224c8743995b999661eede7c31b6346.tar.bz2 |
Get rid of kPathSeparator on windows. Port some wstring function to take FilePaths. Re-enable relevant posix unit tests.
Review URL: http://codereview.chromium.org/12893
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_util.h')
-rw-r--r-- | net/base/net_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/base/net_util.h b/net/base/net_util.h index fb6841f..ddaa77b 100644 --- a/net/base/net_util.h +++ b/net/base/net_util.h @@ -28,6 +28,8 @@ namespace net { // Given the full path to a file name, creates a file: URL. The returned URL // may not be valid if the input is malformed. +GURL FilePathToFileURL(const FilePath& path); +// Deprecated temporary compatibility function. GURL FilePathToFileURL(const std::wstring& file_path); // Converts a file: URL back to a filename that can be passed to the OS. The |