diff options
author | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 20:50:02 +0000 |
---|---|---|
committer | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-07 20:50:02 +0000 |
commit | c92f6cb81b5f9174ebbaf9d4dfbd50401eb5aedb (patch) | |
tree | bb98cdc21baff32431cb6d746afb9e418ef50466 /chrome/common | |
parent | 17922d29c5593f64525127138234b2cc85788897 (diff) | |
download | chromium_src-c92f6cb81b5f9174ebbaf9d4dfbd50401eb5aedb.zip chromium_src-c92f6cb81b5f9174ebbaf9d4dfbd50401eb5aedb.tar.gz chromium_src-c92f6cb81b5f9174ebbaf9d4dfbd50401eb5aedb.tar.bz2 |
Support for platform filters in notification promo.
BUG=chromium-os:22457
TEST=unit tests pass. Manual tests on various platforms.
Review URL: http://codereview.chromium.org/8351089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108906 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 3 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index b008dca..0e4dfad1 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -1291,6 +1291,9 @@ const char kNTPPromoViews[] = "ntp.promo_views"; // Max number of views of this promo. const char kNTPPromoViewsMax[] = "ntp.promo_views_max"; +// Target platform for this promo. +const char kNTPPromoPlatform[] = "ntp.promo_platform"; + // Promo line from server. const char kNTPPromoLine[] = "ntp.promo_line"; diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 103d283..a1fd429 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -464,6 +464,7 @@ extern const char kNTPPromoGroupTimeSlice[]; extern const char kNTPPromoGroupMax[]; extern const char kNTPPromoViews[]; extern const char kNTPPromoViewsMax[]; +extern const char kNTPPromoPlatform[]; extern const char kNTPPromoBuild[]; extern const char kNTPSignInPromoGroup[]; extern const char kNTPSignInPromoGroupMax[]; |