Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1011)

Unified Diff: content/child/ftp_directory_listing_response_delegate.cc

Issue 2481923002: [WIP] make GURL::path() return a StringPiece (Closed)
Patch Set: thanks asan Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/common/plugin_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/ftp_directory_listing_response_delegate.cc
diff --git a/content/child/ftp_directory_listing_response_delegate.cc b/content/child/ftp_directory_listing_response_delegate.cc
index ba0f07476702f6bf3160b8bbf0b07b2549931f81..39ac464172b1441b2264c654d35612d911796e3c 100644
--- a/content/child/ftp_directory_listing_response_delegate.cc
+++ b/content/child/ftp_directory_listing_response_delegate.cc
@@ -115,8 +115,8 @@ void FtpDirectoryListingResponseDelegate::Init(const GURL& response_url) {
net::UnescapeRule::Type unescape_rules =
net::UnescapeRule::SPACES |
net::UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS;
- std::string unescaped_path = net::UnescapeURLComponent(response_url.path(),
- unescape_rules);
+ std::string unescaped_path = net::UnescapeURLComponent(
+ response_url.path().as_string(), unescape_rules);
SendDataToClient(net::GetDirectoryListingHeader(
ConvertPathToUTF16(unescaped_path)));
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/common/plugin_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698