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

Issue 10496008: Purge legacy notification promo code. (Closed)

Created:
8 years, 6 months ago by achuithb
Modified:
8 years, 6 months ago
Reviewers:
Robert Sesek, Dan Beam
CC:
chromium-reviews
Visibility:
Public.

Description

NotificationPromo refactoring. * Purge legacy notification promo code. * Get rid of NotificationPromo::Delegate. * Get rid of RefCountedThreadSafe. * Unit test cleanup. BUG=12637 TEST=compiles, unit tests pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140511

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 49

Patch Set 4 : dbeam comments #

Total comments: 3

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -803 lines) Patch
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 1 2 3 4 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/web_resource/notification_promo.h View 1 2 3 4 5 chunks +10 lines, -61 lines 0 comments Download
M chrome/browser/web_resource/notification_promo.cc View 1 2 3 4 10 chunks +17 lines, -179 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.h View 1 2 3 4 4 chunks +3 lines, -61 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.cc View 1 2 3 4 7 chunks +21 lines, -28 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service_unittest.cc View 1 2 3 4 6 chunks +171 lines, -468 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
achuithb
Dan, please review.
8 years, 6 months ago (2012-06-02 00:17:31 UTC) #1
achuithb
8 years, 6 months ago (2012-06-03 08:31:29 UTC) #2
Dan Beam
http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/notification_promo.cc#newcode330 chrome/browser/web_resource/notification_promo.cc:330: double NotificationPromo::EndTime() const { you only use this once, ...
8 years, 6 months ago (2012-06-04 18:20:08 UTC) #3
Dan Beam
do these in a separate CL http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/promo_resource_service.cc File chrome/browser/web_resource/promo_resource_service.cc (right): http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/promo_resource_service.cc#newcode34 chrome/browser/web_resource/promo_resource_service.cc:34: static const int ...
8 years, 6 months ago (2012-06-04 18:41:04 UTC) #4
achuithb
Hope I didn't miss any comments. PTAL. http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/notification_promo.cc#newcode330 chrome/browser/web_resource/notification_promo.cc:330: double NotificationPromo::EndTime() ...
8 years, 6 months ago (2012-06-04 19:52:59 UTC) #5
Dan Beam
http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/promo_resource_service.cc File chrome/browser/web_resource/promo_resource_service.cc (right): http://codereview.chromium.org/10496008/diff/6003/chrome/browser/web_resource/promo_resource_service.cc#newcode100 chrome/browser/web_resource/promo_resource_service.cc:100: bool PromoResourceService::IsBuildTargeted(chrome::VersionInfo::Channel channel, On 2012/06/04 19:52:59, achuith.bhandarkar wrote: > ...
8 years, 6 months ago (2012-06-04 21:26:32 UTC) #6
achuithb
Will have round #2 of purging after this lands, to get rid of Webstore/Logo signals. ...
8 years, 6 months ago (2012-06-04 23:06:08 UTC) #7
Dan Beam
lgtm, but remove the rest before we forget about it, :P http://codereview.chromium.org/10496008/diff/15002/chrome/browser/web_resource/promo_resource_service.h File chrome/browser/web_resource/promo_resource_service.h (left): ...
8 years, 6 months ago (2012-06-05 02:53:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/10496008/13004
8 years, 6 months ago (2012-06-05 07:46:19 UTC) #9
commit-bot: I haz the power
8 years, 6 months ago (2012-06-05 09:56:08 UTC) #10
Change committed as 140511

Powered by Google App Engine
This is Rietveld 408576698