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

Unified Diff: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.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/ui/webui/options/chromeos/cros_language_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
index f0b3ae42da4fec33ff4f923b846fc10d0899fdf1..b6e028e54450c42bb2c9610961f50b14834ef104 100644
--- a/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
@@ -8,6 +8,7 @@
#include <set>
#include <vector>
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/app/chrome_command_ids.h"
@@ -198,7 +199,7 @@ void CrosLanguageOptionsHandler::RestartCallback(const ListValue* args) {
void CrosLanguageOptionsHandler::InputMethodDisableCallback(
const ListValue* args) {
const std::string input_method_id = UTF16ToASCII(ExtractStringValue(args));
- const std::string action = StringPrintf(
+ const std::string action = base::StringPrintf(
"LanguageOptions_DisableInputMethod_%s", input_method_id.c_str());
UserMetrics::RecordComputedAction(action);
}
@@ -206,7 +207,7 @@ void CrosLanguageOptionsHandler::InputMethodDisableCallback(
void CrosLanguageOptionsHandler::InputMethodEnableCallback(
const ListValue* args) {
const std::string input_method_id = UTF16ToASCII(ExtractStringValue(args));
- const std::string action = StringPrintf(
+ const std::string action = base::StringPrintf(
"LanguageOptions_EnableInputMethod_%s", input_method_id.c_str());
UserMetrics::RecordComputedAction(action);
}
@@ -214,7 +215,7 @@ void CrosLanguageOptionsHandler::InputMethodEnableCallback(
void CrosLanguageOptionsHandler::InputMethodOptionsOpenCallback(
const ListValue* args) {
const std::string input_method_id = UTF16ToASCII(ExtractStringValue(args));
- const std::string action = StringPrintf(
+ const std::string action = base::StringPrintf(
"InputMethodOptions_Open_%s", input_method_id.c_str());
UserMetrics::RecordComputedAction(action);
}

Powered by Google App Engine
This is Rietveld 408576698