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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo 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/browser/ui/webui/ntp/most_visited_handler.cc ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc
index 90f985d4341314b2b4c6a23a0b4d8942f30fc85f..a696b681c380ce9470d3a5bc1150cc71fe5a9a52 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc
@@ -156,10 +156,10 @@ void NewTabSyncSetupHandler::UpdateLogin() {
// If the user isn't signed in then make the login text clickable so that
// users can click on it to expand the sync promo. Otherwise, if the user
// has multiple profiles then clicking on it should show the profiles menu.
- base::FundamentalValue is_clickable_value(
+ base::BooleanValue is_clickable_value(
username.empty() || cache.GetNumberOfProfiles() > 1);
- base::FundamentalValue is_signed_in_value(!username.empty());
+ base::BooleanValue is_signed_in_value(!username.empty());
web_ui_->CallJavascriptFunction("new_tab.NewTabSyncPromo.updateLogin",
status_msg_value, icon_url_value,
is_signed_in_value, is_clickable_value);
« no previous file with comments | « chrome/browser/ui/webui/ntp/most_visited_handler.cc ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698