Index: webrtc/base/pathutils.cc |
diff --git a/webrtc/base/pathutils.cc b/webrtc/base/pathutils.cc |
index c4a2c30dc832d76aa9cf1ba3ea30ede43643f61c..80df0ef9e8cd20b4cb41c0fa5ee646215b674fcb 100644 |
--- a/webrtc/base/pathutils.cc |
+++ b/webrtc/base/pathutils.cc |
@@ -20,7 +20,6 @@ |
#include "webrtc/base/logging.h" |
#include "webrtc/base/pathutils.h" |
#include "webrtc/base/stringutils.h" |
-#include "webrtc/base/urlencode.h" |
namespace rtc { |
@@ -106,19 +105,6 @@ std::string Pathname::pathname() const { |
return pathname; |
} |
-std::string Pathname::url() const { |
- std::string s = "file:///"; |
- for (size_t i=0; i<folder_.length(); ++i) { |
- if (IsFolderDelimiter(folder_[i])) |
- s += '/'; |
- else |
- s += folder_[i]; |
- } |
- s += basename_; |
- s += extension_; |
- return UrlEncodeStringForOnlyUnsafeChars(s); |
-} |
- |
void Pathname::SetPathname(const std::string& pathname) { |
std::string::size_type pos = pathname.find_last_of(FOLDER_DELIMS); |
if (pos != std::string::npos) { |