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

Unified Diff: chrome/installer/util/l10n_string_util.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
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.cc ('k') | chrome/installer/util/self_reg_work_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/l10n_string_util.cc
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc
index 8c67e0b4cd19197e9fed8e8c79df4b37628301fb..8a51868d4c39cdbb7fd469b0f4dde60f44e87d05 100644
--- a/chrome/installer/util/l10n_string_util.cc
+++ b/chrome/installer/util/l10n_string_util.cc
@@ -12,6 +12,7 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "chrome/installer/util/language_selector.h"
namespace {
@@ -63,7 +64,7 @@ std::wstring GetLocalizedEulaResource() {
// Spaces and DOS paths must be url encoded.
std::wstring url_path =
- StringPrintf(L"res://%ls/#23/%ls", full_exe_path, resource.c_str());
+ base::StringPrintf(L"res://%ls/#23/%ls", full_exe_path, resource.c_str());
// The cast is safe because url_path has limited length
// (see the definition of full_exe_path and resource).
« no previous file with comments | « chrome/installer/util/google_chrome_distribution.cc ('k') | chrome/installer/util/self_reg_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698