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

Unified Diff: chrome/browser/automation/url_request_mock_net_error_job.cc

Issue 6268: Port some more parts of browser/... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 2 months 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
Index: chrome/browser/automation/url_request_mock_net_error_job.cc
===================================================================
--- chrome/browser/automation/url_request_mock_net_error_job.cc (revision 3500)
+++ chrome/browser/automation/url_request_mock_net_error_job.cc (working copy)
@@ -58,7 +58,7 @@
file_url.append(UTF8ToWide(url.path()));
// Convert the file:/// URL to a path on disk.
std::wstring file_path;
- net::FileURLToFilePath(GURL(file_url), &file_path);
+ net::FileURLToFilePath(GURL(WideToUTF8(file_url)), &file_path);
job->file_path_ = file_path;
return job;
}
« no previous file with comments | « chrome/browser/automation/url_request_mock_http_job.cc ('k') | chrome/browser/automation/url_request_slow_download_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698