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

Unified Diff: chrome/common/important_file_writer.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/common/extensions/update_manifest.cc ('k') | chrome/common/logging_chrome.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/important_file_writer.cc
===================================================================
--- chrome/common/important_file_writer.cc (revision 54340)
+++ chrome/common/important_file_writer.cc (working copy)
@@ -13,7 +13,7 @@
#include "base/file_util.h"
#include "base/logging.h"
#include "base/message_loop_proxy.h"
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/task.h"
#include "base/thread.h"
#include "base/time.h"
@@ -52,8 +52,8 @@
}
if (bytes_written < data_.length()) {
file_util::Delete(tmp_file_path, false);
- LogFailure("error writing, bytes_written=" + UintToString(
- static_cast<unsigned int>(bytes_written)));
+ LogFailure("error writing, bytes_written=" +
+ base::Uint64ToString(bytes_written));
return;
}
« no previous file with comments | « chrome/common/extensions/update_manifest.cc ('k') | chrome/common/logging_chrome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698