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

Unified Diff: chrome/browser/ui/webui/options/chromeos/language_options_util.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/ui/webui/options/chromeos/language_options_util.h
===================================================================
--- chrome/browser/ui/webui/options/chromeos/language_options_util.h (revision 92173)
+++ chrome/browser/ui/webui/options/chromeos/language_options_util.h (working copy)
@@ -13,7 +13,9 @@
#include "chrome/browser/chromeos/language_preferences.h"
#include "ui/base/l10n/l10n_util.h"
+namespace base {
class ListValue;
+}
namespace chromeos {
@@ -52,7 +54,7 @@
// Creates a multiple choice list from the given preference.
template <typename T>
-ListValue* CreateMultipleChoiceList(
+base::ListValue* CreateMultipleChoiceList(
const language_prefs::LanguageMultipleChoicePreference<T>& preference) {
int list_length = 0;
for (size_t i = 0;
@@ -64,12 +66,12 @@
}
DCHECK_GT(list_length, 0);
- ListValue* list_value = new ListValue();
+ base::ListValue* list_value = new base::ListValue();
for (int i = 0; i < list_length; ++i) {
- ListValue* option = new ListValue();
+ base::ListValue* option = new base::ListValue();
option->Append(CreateValue(
preference.values_and_ids[i].ibus_config_value));
- option->Append(Value::CreateStringValue(l10n_util::GetStringUTF16(
+ option->Append(base::Value::CreateStringValue(l10n_util::GetStringUTF16(
preference.values_and_ids[i].item_message_id)));
list_value->Append(option);
}

Powered by Google App Engine
This is Rietveld 408576698