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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 3056029: Move the number conversions from string_util to a new file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 54340)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -18,6 +18,7 @@
#include "base/path_service.h"
#include "base/platform_thread.h"
#include "base/stats_table.h"
+#include "base/string_number_conversions.h"
#include "base/string_piece.h"
#include "base/string_util.h"
#include "base/thread.h"
@@ -996,11 +997,14 @@
log_string.append(L", ");
log_string.append(browser_processes[index].name);
log_string.append(L", ");
- log_string.append(Int64ToWString(aggregate.working_set.priv));
+ log_string.append(UTF8ToWide(
+ base::Int64ToString(aggregate.working_set.priv)));
log_string.append(L", ");
- log_string.append(Int64ToWString(aggregate.working_set.shared));
+ log_string.append(UTF8ToWide(
+ base::Int64ToString(aggregate.working_set.shared)));
log_string.append(L", ");
- log_string.append(Int64ToWString(aggregate.working_set.shareable));
+ log_string.append(UTF8ToWide(
+ base::Int64ToString(aggregate.working_set.shareable)));
}
if (log_string.length() > 0)
LOG(INFO) << "memory: " << log_string;
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/browser_shutdown.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698