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

Unified Diff: chrome/browser/ui/webui/options/personal_options_handler.cc

Issue 7647026: base: Add three helper functions to Values API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a typo Ceate -> Create 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/personal_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/personal_options_handler.cc b/chrome/browser/ui/webui/options/personal_options_handler.cc
index f273c6b31b34a4526260d663a78a6b672cf48fd3..26fc5797a2f4ef819cce9502f152570ecb91844c 100644
--- a/chrome/browser/ui/webui/options/personal_options_handler.cc
+++ b/chrome/browser/ui/webui/options/personal_options_handler.cc
@@ -147,13 +147,13 @@ void PersonalOptionsHandler::GetLocalizedValues(
// Sync select control.
ListValue* sync_select_list = new ListValue;
ListValue* datatypes = new ListValue;
- datatypes->Append(Value::CreateBooleanValue(false));
+ datatypes->Append(base::FalseValue());
datatypes->Append(
Value::CreateStringValue(
l10n_util::GetStringUTF8(IDS_SYNC_OPTIONS_SELECT_DATATYPES)));
sync_select_list->Append(datatypes);
ListValue* everything = new ListValue;
- everything->Append(Value::CreateBooleanValue(true));
+ everything->Append(base::TrueValue());
everything->Append(
Value::CreateStringValue(
l10n_util::GetStringUTF8(IDS_SYNC_OPTIONS_SELECT_EVERYTHING)));
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.cc ('k') | chrome/browser/ui/webui/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698