| 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 9916ccd97bbc45eb79fdbb34dd5321f345789d4d..6d08ef24c38160668ea3bf0b263f8d9ac0a71b85 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -452,11 +452,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) {
|
|
|