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

Unified Diff: chrome/browser/password_manager/ie7_password.cc

Issue 7633055: base: Fix the TODO in string_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_mini_installer.cc Created 9 years, 4 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/password_manager/ie7_password.cc
diff --git a/chrome/browser/password_manager/ie7_password.cc b/chrome/browser/password_manager/ie7_password.cc
index 576194bcfea996d79c0063e51e3a9ce05a7200ce..ba15900544a463249fb96895ab54c4d0e1bdea45 100644
--- a/chrome/browser/password_manager/ie7_password.cc
+++ b/chrome/browser/password_manager/ie7_password.cc
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/sha1.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
namespace {
@@ -100,9 +101,9 @@ std::wstring GetUrlHash(const std::wstring& url) {
// check_sum.
unsigned char hash_byte = static_cast<unsigned char>(hash_bin[i]);
checksum += hash_byte;
- url_hash += StringPrintf(L"%2.2X", static_cast<unsigned>(hash_byte));
+ url_hash += base::StringPrintf(L"%2.2X", static_cast<unsigned>(hash_byte));
}
- url_hash += StringPrintf(L"%2.2X", checksum);
+ url_hash += base::StringPrintf(L"%2.2X", checksum);
return url_hash;
}
« no previous file with comments | « chrome/browser/net/network_stats.cc ('k') | chrome/browser/password_manager/native_backend_gnome_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698