diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-02 23:05:08 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-02 23:05:08 +0000 |
commit | 48797906a6bba708e777908049b8496035ed860f (patch) | |
tree | c3b9f76f773e92ad70e0f3352ff5d518be1b17d3 /webkit/fileapi/file_system_operation.cc | |
parent | 2cec759bc34b3f3e7fb3a624474f8ea188a3c975 (diff) | |
download | chromium_src-48797906a6bba708e777908049b8496035ed860f.zip chromium_src-48797906a6bba708e777908049b8496035ed860f.tar.gz chromium_src-48797906a6bba708e777908049b8496035ed860f.tar.bz2 |
net: Move UnescapeURLComponent() functions into net namespace.
BUG=64263
TEST=None
R=willchan@chromium.org
Review URL: http://codereview.chromium.org/8109004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_operation.cc')
-rw-r--r-- | webkit/fileapi/file_system_operation.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_operation.cc b/webkit/fileapi/file_system_operation.cc index 7d2dcb0..a02e2a7 100644 --- a/webkit/fileapi/file_system_operation.cc +++ b/webkit/fileapi/file_system_operation.cc @@ -806,7 +806,7 @@ bool FileSystemOperation::VerifyFileSystemPathForRead( // On Windows, the path will look like /C:/foo/bar; we need to remove the // leading slash to make it valid. But if it's empty, we shouldn't do // anything. - std::string temp = UnescapeURLComponent(path.path(), + std::string temp = net::UnescapeURLComponent(path.path(), UnescapeRule::SPACES | UnescapeRule::URL_SPECIAL_CHARS); if (temp.size()) temp = temp.substr(1); @@ -861,7 +861,7 @@ bool FileSystemOperation::VerifyFileSystemPathForWrite( // On Windows, the path will look like /C:/foo/bar; we need to remove the // leading slash to make it valid. But if it's empty, we shouldn't do // anything. - std::string temp = UnescapeURLComponent(path.path(), + std::string temp = net::UnescapeURLComponent(path.path(), UnescapeRule::SPACES | UnescapeRule::URL_SPECIAL_CHARS); if (temp.size()) temp = temp.substr(1); |