summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-29 22:50:16 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-29 22:50:16 +0000
commit739cb54e6f2d9357d3af821edfdfcec133fc3534 (patch)
treefc4a570ee3bb8f476fb073732f20cecf937cdfa5 /chrome/common
parentb124b43aa88e393cd55d714a30ce49fd8e4a88c0 (diff)
downloadchromium_src-739cb54e6f2d9357d3af821edfdfcec133fc3534.zip
chromium_src-739cb54e6f2d9357d3af821edfdfcec133fc3534.tar.gz
chromium_src-739cb54e6f2d9357d3af821edfdfcec133fc3534.tar.bz2
Add ability to change web store promo logo at runtime.
This updates the web store promo system so that we can change the promo's logo to any URL from the promo server. BUG=84082 TEST=ExtensionAppsPromo, PromoResourceServiceTest Review URL: http://codereview.chromium.org/7074032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc3
-rw-r--r--chrome/common/pref_names.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 6050a09..3cc1322 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1152,6 +1152,9 @@ const char kNTPWebStorePromoButton[] = "ntp.webstorepromo.button";
// The button link for the NTP web store promo.
const char kNTPWebStorePromoLink[] = "ntp.webstorepromo.link";
+// The image URL for the NTP web store promo logo.
+const char kNTPWebStorePromoLogo[] = "ntp.webstorepromo.logo";
+
// The "hide this" link text for the NTP web store promo.
const char kNTPWebStorePromoExpire[] = "ntp.webstorepromo.expire";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 8eeff29..4539838 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -405,6 +405,7 @@ extern const char kNTPWebStorePromoId[];
extern const char kNTPWebStorePromoHeader[];
extern const char kNTPWebStorePromoButton[];
extern const char kNTPWebStorePromoLink[];
+extern const char kNTPWebStorePromoLogo[];
extern const char kNTPWebStorePromoExpire[];
extern const char kGpuBlacklist[];