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

Unified Diff: chrome/browser/ui/views/appcache_info_view.cc

Issue 7189076: Localize strings, speeds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright dates Created 9 years, 6 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/ui/views/appcache_info_view.cc
diff --git a/chrome/browser/ui/views/appcache_info_view.cc b/chrome/browser/ui/views/appcache_info_view.cc
index 199d256fd63daf585686168fb5b11c58e9e9ff07..b4add97a166dfbd8fe7a08d5777fc46f91447c31 100644
--- a/chrome/browser/ui/views/appcache_info_view.cc
+++ b/chrome/browser/ui/views/appcache_info_view.cc
@@ -8,6 +8,7 @@
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "grit/generated_resources.h"
+#include "ui/base/text/bytes_formatting.h"
namespace {
const int kInfoLabelIds[] = {
@@ -27,7 +28,7 @@ void AppCacheInfoView::SetAppCacheInfo(const appcache::AppCacheInfo* info) {
string16 manifest_url =
UTF8ToUTF16(info->manifest_url.spec());
string16 size =
- FormatBytes(info->size, GetByteDisplayUnits(info->size), true);
+ ui::FormatBytes(info->size);
string16 creation_date =
base::TimeFormatFriendlyDateAndTime(info->creation_time);
string16 last_access_date =

Powered by Google App Engine
This is Rietveld 408576698