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

Unified Diff: content/browser/download/download_item_impl.cc

Issue 9316004: Move common file path related methods between chrome & content to file_util. I reduced the 4 meth... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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: content/browser/download/download_item_impl.cc
===================================================================
--- content/browser/download/download_item_impl.cc (revision 119906)
+++ content/browser/download/download_item_impl.cc (working copy)
@@ -791,7 +791,7 @@
FilePath DownloadItemImpl::GetFileNameToReportUser() const {
if (state_info_.path_uniquifier > 0) {
FilePath name(state_info_.target_name);
- DownloadFile::AppendNumberToPath(&name, state_info_.path_uniquifier);
+ file_util::AppendNumberToPath(&name, state_info_.path_uniquifier);
return name;
}
return state_info_.target_name;

Powered by Google App Engine
This is Rietveld 408576698