summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_resource/promo_resource_service.h
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 00:16:33 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 00:16:33 +0000
commitb6aed736288188a2b52d8d514f767cfcd666b897 (patch)
treefe53a149d1e5a7706de09eea372749da9524e2e0 /chrome/browser/web_resource/promo_resource_service.h
parentfe8fec4d1562053f464fc6b2c960e51498e6a74f (diff)
downloadchromium_src-b6aed736288188a2b52d8d514f767cfcd666b897.zip
chromium_src-b6aed736288188a2b52d8d514f767cfcd666b897.tar.gz
chromium_src-b6aed736288188a2b52d8d514f767cfcd666b897.tar.bz2
Updates when the web store promo and apps section is displayed on NTP.
The NTP will now show the apps section even if the web store promo fails to parse. The presence of part of the promo triggers the apps section. This also adds the ability to choose what users will maximize a given web store promo and apps section. The promo can be maximized for no users, existing users, new users or everyone. BUG=84561 TEST=PromoResourceServiceTest, ExtensionAppsPromo Review URL: http://codereview.chromium.org/7054076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_resource/promo_resource_service.h')
-rw-r--r--chrome/browser/web_resource/promo_resource_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/web_resource/promo_resource_service.h b/chrome/browser/web_resource/promo_resource_service.h
index ad1af83..469abf0 100644
--- a/chrome/browser/web_resource/promo_resource_service.h
+++ b/chrome/browser/web_resource/promo_resource_service.h
@@ -48,6 +48,8 @@ class PromoResourceService
FRIEND_TEST_ALL_PREFIXES(PromoResourceServiceTest, UnpackLogoSignal);
FRIEND_TEST_ALL_PREFIXES(PromoResourceServiceTest, UnpackPromoSignal);
FRIEND_TEST_ALL_PREFIXES(PromoResourceServiceTest, UnpackWebStoreSignal);
+ FRIEND_TEST_ALL_PREFIXES(
+ PromoResourceServiceTest, UnpackPartialWebStoreSignal);
// Identifies types of Chrome builds for promo targeting.
enum BuildType {