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

Unified Diff: chrome/common/pref_names.cc

Issue 6825052: Update the web store promo to be clearer and configurable at run-time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate feedback. Update feed format. Remove first run tip for most visited section. Created 9 years, 8 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 97f042642c43966ef36aa05ef636427c4898c600..fa8bf27a1c202202475d47db3b7049ab1162286b 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1088,6 +1088,12 @@ const char kNTPPrefVersion[] = "ntp.pref_version";
const char kNTPCustomLogoStart[] = "ntp.alt_logo_start";
const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end";
+// The promo resource service version number.
+const char kNTPPromoVersion[] = "ntp.promo_version";
+
+// The last locale the promo was fetched for.
+const char kNTPPromoLocale[] = "ntp.promo_locale";
+
// Whether promo should be shown to Dev builds, Beta and Dev, or all builds.
const char kNTPPromoBuild[] = "ntp.promo_build";
@@ -1110,6 +1116,24 @@ const char kNTPPromoLine[] = "ntp.promo_line";
const char kNTPPromoStart[] = "ntp.promo_start";
const char kNTPPromoEnd[] = "ntp.promo_end";
+// The id of the last web store promo actually displayed on the NTP.
+const char kNTPWebStorePromoLastId[] = "ntp.webstore_last_promo_id";
+
+// The id of the current web store promo.
+const char kNTPWebStorePromoId[] = "ntp.webstore.promo_id";
+
+// The header line for the NTP web store promo.
+const char kNTPWebStorePromoHeader[] = "ntp.webstore.promo_header";
+
+// The button text for the NTP web store promo.
+const char kNTPWebStorePromoButton[] = "ntp.webstore.promo_button";
+
+// The button link for the NTP web store promo.
+const char kNTPWebStorePromoLink[] = "ntp.webstore.promo_link";
+
+// The "hide this" link text for the NTP web store promo.
+const char kNTPWebStorePromoExpire[] = "ntp.webstore.promo_expire";
+
// The most up-to-date GPU blacklist downloaded from the web, which replaces
// the one that's installed with chrome.
const char kGpuBlacklist[] = "gpu_blacklist";

Powered by Google App Engine
This is Rietveld 408576698