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

Unified Diff: chrome/common/child_process.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/zygote_host_linux.cc ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process.cc
===================================================================
--- chrome/common/child_process.cc (revision 54340)
+++ chrome/common/child_process.cc (working copy)
@@ -11,8 +11,9 @@
#include "app/l10n_util.h"
#include "base/message_loop.h"
#include "base/process_util.h"
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/thread.h"
+#include "base/utf_string_conversions.h"
#include "chrome/common/child_thread.h"
#include "grit/chromium_strings.h"
@@ -76,7 +77,7 @@
std::wstring title = l10n_util::GetString(IDS_PRODUCT_NAME);
std::wstring message = label;
message += L" starting with pid: ";
- message += IntToWString(base::GetCurrentProcId());
+ message += UTF8ToWide(base::IntToString(base::GetCurrentProcId()));
title += L" ";
title += label; // makes attaching to process easier
::MessageBox(NULL, message.c_str(), title.c_str(),
« no previous file with comments | « chrome/browser/zygote_host_linux.cc ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698