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

Unified Diff: ipc/ipc_message_utils.h

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 | « gpu/command_buffer/service/program_manager.cc ('k') | jingle/notifier/listener/xml_element_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.h
===================================================================
--- ipc/ipc_message_utils.h (revision 54340)
+++ ipc/ipc_message_utils.h (working copy)
@@ -16,6 +16,7 @@
#include "base/format_macros.h"
#include "base/nullable_string16.h"
#include "base/string16.h"
+#include "base/string_number_conversions.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "base/time.h"
@@ -209,7 +210,7 @@
return m->ReadInt64(iter, reinterpret_cast<int64*>(r));
}
static void Log(const param_type& p, std::wstring* l) {
- l->append(Int64ToWString(static_cast<int64>(p)));
+ l->append(UTF8ToWide(base::Int64ToString(static_cast<int64>(p))));
}
};
@@ -223,7 +224,7 @@
return m->ReadInt64(iter, reinterpret_cast<int64*>(r));
}
static void Log(const param_type& p, std::wstring* l) {
- l->append(Uint64ToWString(p));
+ l->append(UTF8ToWide(base::Uint64ToString(p)));
}
};
« no previous file with comments | « gpu/command_buffer/service/program_manager.cc ('k') | jingle/notifier/listener/xml_element_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698