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

Issue 2805443007: Remove unnecessary promo_type_ field from notification_promo.h/.cc. (Closed)

Created:
3 years, 8 months ago by gchatz
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary promo_type_ field from notification_promo.h/.cc. Removes the promo_type_ field from notification_promo.h/.cc and uses of it. It is unnecessary as the only promo type in use is the MOBILE_NTP_WHATS_NEW_PROMO. BUG=608525 Review-Url: https://codereview.chromium.org/2805443007 Cr-Commit-Position: refs/heads/master@{#463344} Committed: https://chromium.googlesource.com/chromium/src/+/1f5bbbc2bdb5af6fa4d6940dbefb9538620d8d1c

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -38 lines) Patch
M ios/chrome/browser/notification_promo.h View 4 chunks +2 lines, -13 lines 0 comments Download
M ios/chrome/browser/notification_promo.cc View 3 chunks +3 lines, -9 lines 2 comments Download
M ios/chrome/browser/notification_promo_unittest.cc View 9 chunks +8 lines, -10 lines 0 comments Download
M ios/chrome/browser/ui/ntp/notification_promo_whats_new.mm View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
gchatz
3 years, 8 months ago (2017-04-07 22:48:37 UTC) #2
rohitrao (ping after 24h)
LGTM Could you please update the CL description to add a short explanation of why ...
3 years, 8 months ago (2017-04-10 12:49:17 UTC) #3
justincohen
LGTM with q https://codereview.chromium.org/2805443007/diff/1/ios/chrome/browser/notification_promo.cc File ios/chrome/browser/notification_promo.cc (left): https://codereview.chromium.org/2805443007/diff/1/ios/chrome/browser/notification_promo.cc#oldcode159 ios/chrome/browser/notification_promo.cc:159: promo_type_ = promo_type; Was this data ...
3 years, 8 months ago (2017-04-10 15:32:13 UTC) #4
gchatz
Updated description. https://codereview.chromium.org/2805443007/diff/1/ios/chrome/browser/notification_promo.cc File ios/chrome/browser/notification_promo.cc (left): https://codereview.chromium.org/2805443007/diff/1/ios/chrome/browser/notification_promo.cc#oldcode159 ios/chrome/browser/notification_promo.cc:159: promo_type_ = promo_type; On 2017/04/10 15:32:13, justincohen ...
3 years, 8 months ago (2017-04-10 18:32:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2805443007/1
3 years, 8 months ago (2017-04-10 18:33:43 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 18:57:46 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1f5bbbc2bdb5af6fa4d6940dbefb...

Powered by Google App Engine
This is Rietveld 408576698