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

Unified Diff: chrome/browser/download/download_util.cc

Issue 6064003: Update the time formatting APIs to use string16.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/download/download_util.cc
===================================================================
--- chrome/browser/download/download_util.cc (revision 69833)
+++ chrome/browser/download/download_util.cc (working copy)
@@ -489,7 +489,7 @@
file_value->SetString("since_string",
TimeFormat::RelativeDate(download->start_time(), NULL));
file_value->SetString("date_string",
- WideToUTF16Hack(base::TimeFormatShortDate(download->start_time())));
+ base::TimeFormatShortDate(download->start_time()));
file_value->SetInteger("id", id);
file_value->SetString("file_path",
WideToUTF16Hack(download->GetTargetFilePath().ToWStringHack()));

Powered by Google App Engine
This is Rietveld 408576698