Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
index cdfbc8218a0b79c4cc71ce25b78eedffe9bab68d..5072380e29faead3a98557c534bdf05842d0639d 100644 |
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc |
@@ -448,11 +448,12 @@ DictionaryValue* AppLauncherHandler::GetAppInfo(const Extension* extension) { |
} |
void AppLauncherHandler::FillPromoDictionary(DictionaryValue* dictionary) { |
- dictionary->SetString("promoHeader", AppsPromo::GetPromoHeaderText()); |
- dictionary->SetString("promoButton", AppsPromo::GetPromoButtonText()); |
- dictionary->SetString("promoLink", AppsPromo::GetPromoLink().spec()); |
- dictionary->SetString("promoLogo", AppsPromo::GetPromoLogo().spec()); |
- dictionary->SetString("promoExpire", AppsPromo::GetPromoExpireText()); |
+ AppsPromo::PromoData data = AppsPromo::GetPromo(); |
+ dictionary->SetString("promoHeader", data.header); |
+ dictionary->SetString("promoButton", data.button); |
+ dictionary->SetString("promoLink", data.link.spec()); |
+ dictionary->SetString("promoLogo", data.logo.spec()); |
+ dictionary->SetString("promoExpire", data.expire); |
} |
void AppLauncherHandler::HandleGetApps(const ListValue* args) { |