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

Unified Diff: chrome/browser/sync/util/fast_dump.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 | « chrome/browser/sync/syncable/syncable.cc ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/fast_dump.h
===================================================================
--- chrome/browser/sync/util/fast_dump.h (revision 54340)
+++ chrome/browser/sync/util/fast_dump.h (working copy)
@@ -10,7 +10,7 @@
#include <streambuf>
#include <string>
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
using std::ostream;
using std::streambuf;
@@ -32,7 +32,7 @@
inline browser_sync::FastDump& operator <<
(browser_sync::FastDump& dump, int64 n) {
- string numbuf(Int64ToString(n));
+ string numbuf(base::Int64ToString(n));
const char* number = numbuf.c_str();
dump.out_->sputn(number, numbuf.length());
return dump;
@@ -40,7 +40,7 @@
inline browser_sync::FastDump& operator <<
(browser_sync::FastDump& dump, int32 n) {
- string numbuf(IntToString(n));
+ string numbuf(base::IntToString(n));
const char* number = numbuf.c_str();
dump.out_->sputn(number, numbuf.length());
return dump;
« no previous file with comments | « chrome/browser/sync/syncable/syncable.cc ('k') | chrome/browser/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698