Chromium Code Reviews
Descriptionpromo_resource_service fixes/cleanup for promos.
Remove is_synced check in CanShowPromo.
Add support for additional question param max_group_number.
Fix a bug where group was reset everytime the promo resource was fetched.
Breakup UnpackPromoSignal to a number of smaller helper functions
for clarity, and so they can be individually unit-tested.
Put all the logic of whether to display a promo into CanShowPromo.
Get rid of unnecessary namespace PromoResourceServiceUtil.
Make IsBuildTargeted private.
Make GetChannel a private function in anonymous scope
to consolidate duplicated comments/code.
Delete unused web_resource_cache_.
BUG=93201
TEST=Only relevant change is removal of is_synced check in CanShowPromo.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101979
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : '' #
Total comments: 6
Patch Set 7 : '' #Patch Set 8 : '' #Patch Set 9 : '' #Patch Set 10 : '' #Patch Set 11 : '' #Patch Set 12 : Fix unit tests #
Total comments: 4
Patch Set 13 : GetPromoStartTime #Patch Set 14 : unit test for UnpackPromoSignal reentrancy #
Total comments: 5
Patch Set 15 : '' #Patch Set 16 : '' #Patch Set 17 : '' #Patch Set 18 : SetPromoLine -> SetAdLine #Patch Set 19 : GetPromoStartTime -> GetAdStartTime #Patch Set 20 : rename Ad->Notification #
Total comments: 22
Patch Set 21 : round of fixing nits #
Total comments: 4
Messages
Total messages: 25 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||