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

Unified Diff: chrome/browser/chromeos/dom_ui/system_options_handler.cc

Issue 2853032: Add a DOM UI version of ibus-hangul configuration dialog. (Closed)
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
Index: chrome/browser/chromeos/dom_ui/system_options_handler.cc
diff --git a/chrome/browser/chromeos/dom_ui/system_options_handler.cc b/chrome/browser/chromeos/dom_ui/system_options_handler.cc
index fed9222986fca233d17fc3fffc714adcece5f5ec..b2805266a4660deef4db60f9e412e82e908cfa4b 100644
--- a/chrome/browser/chromeos/dom_ui/system_options_handler.cc
+++ b/chrome/browser/chromeos/dom_ui/system_options_handler.cc
@@ -107,11 +107,10 @@ ListValue* SystemOptionsHandler::GetTimezoneList() {
for (std::vector<icu::TimeZone*>::iterator iter = timezones_.begin();
iter != timezones_.end(); ++iter) {
const icu::TimeZone* timezone = *iter;
- static const std::wstring delimiter(L"|");
- std::wstring value = GetTimezoneID(timezone);
- value += delimiter;
- value += GetTimezoneName(timezone);
- timezoneList->Append(Value::CreateStringValue(value));
+ ListValue* option = new ListValue();
+ option->Append(Value::CreateStringValue(GetTimezoneID(timezone)));
+ option->Append(Value::CreateStringValue(GetTimezoneName(timezone)));
+ timezoneList->Append(option);
}
return timezoneList;
}
« no previous file with comments | « chrome/browser/chromeos/dom_ui/language_hangul_options_handler.cc ('k') | chrome/browser/dom_ui/core_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698