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

Unified Diff: chrome/browser/safe_browsing/chunk_range.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
Index: chrome/browser/safe_browsing/chunk_range.cc
===================================================================
--- chrome/browser/safe_browsing/chunk_range.cc (revision 54340)
+++ chrome/browser/safe_browsing/chunk_range.cc (working copy)
@@ -7,6 +7,7 @@
#include "chrome/browser/safe_browsing/chunk_range.h"
#include "base/logging.h"
+#include "base/string_number_conversions.h"
#include "base/string_util.h"
ChunkRange::ChunkRange(int start) : start_(start), stop_(start) {
@@ -61,7 +62,7 @@
if (!result->empty())
result->append(",");
if (it->start() == it->stop()) {
- std::string num_buf = IntToString(it->start());
+ std::string num_buf = base::IntToString(it->start());
result->append(num_buf);
} else {
result->append(StringPrintf("%d-%d", it->start(), it->stop()));
« no previous file with comments | « chrome/browser/renderer_host/render_sandbox_host_linux.cc ('k') | chrome/browser/search_engines/template_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698