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

Issue 10820048: Add OS_IOS defines for the mobile promo. (Closed)

Created:
8 years, 4 months ago by msarda
Modified:
8 years, 4 months ago
Reviewers:
aruslan1, aruslan, achuithb
CC:
chromium-reviews, noyau (Ping after 24h)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add OS_IOS defines for the mobile promo. Enable the mobile_ntp_sync_promo on iOS. Add corresponding ifdefs. BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149166

Patch Set 1 #

Patch Set 2 : Add OS_IOS deprecated pref names. #

Patch Set 3 : Keep only the notification_promo accessors as we only care about them at this point. #

Patch Set 4 : Add missing defined(OS_IOS) in the notification_promo.h. #

Total comments: 4

Patch Set 5 : Address code review: fix nits. #

Total comments: 2

Patch Set 6 : Address code review: Return const reference. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M chrome/browser/web_resource/notification_promo.h View 1 2 3 4 5 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
msarda
8 years, 4 months ago (2012-07-27 14:50:19 UTC) #1
aruslan1
LGTM, please do not forget to add tablet vs phone code once relevant parts are ...
8 years, 4 months ago (2012-07-27 14:58:47 UTC) #2
noyau (Ping after 24h)
On 2012/07/27 14:58:47, aruslan1 wrote: > LGTM, please do not forget to add tablet vs ...
8 years, 4 months ago (2012-07-27 15:00:26 UTC) #3
msarda
We rediscussed this internally and we prefer not to upstream the entire change for now. ...
8 years, 4 months ago (2012-07-27 15:24:07 UTC) #4
aruslan
https://chromiumcodereview.appspot.com/10820048/diff/5002/chrome/browser/web_resource/notification_promo.h File chrome/browser/web_resource/notification_promo.h (right): https://chromiumcodereview.appspot.com/10820048/diff/5002/chrome/browser/web_resource/notification_promo.h#newcode58 chrome/browser/web_resource/notification_promo.h:58: base::ListValue* promo_action_args() const { could it be a const ...
8 years, 4 months ago (2012-07-27 18:18:14 UTC) #5
aruslan
LGTM. https://chromiumcodereview.appspot.com/10820048/diff/5002/chrome/browser/web_resource/notification_promo.h File chrome/browser/web_resource/notification_promo.h (right): https://chromiumcodereview.appspot.com/10820048/diff/5002/chrome/browser/web_resource/notification_promo.h#newcode61 chrome/browser/web_resource/notification_promo.h:61: #endif // defined(OS_ANDROID) || defined(OS_IOS) nit: extra space ...
8 years, 4 months ago (2012-07-27 18:23:35 UTC) #6
msarda
@Achuith: PTAL. https://chromiumcodereview.appspot.com/10820048/diff/5002/chrome/browser/web_resource/notification_promo.h File chrome/browser/web_resource/notification_promo.h (right): https://chromiumcodereview.appspot.com/10820048/diff/5002/chrome/browser/web_resource/notification_promo.h#newcode58 chrome/browser/web_resource/notification_promo.h:58: base::ListValue* promo_action_args() const { On 2012/07/27 18:18:15, ...
8 years, 4 months ago (2012-07-30 08:41:51 UTC) #7
achuithb
http://codereview.chromium.org/10820048/diff/7001/chrome/browser/web_resource/notification_promo.h File chrome/browser/web_resource/notification_promo.h (right): http://codereview.chromium.org/10820048/diff/7001/chrome/browser/web_resource/notification_promo.h#newcode54 chrome/browser/web_resource/notification_promo.h:54: std::string promo_text() const { return promo_text_; } Could you ...
8 years, 4 months ago (2012-07-30 18:15:44 UTC) #8
msarda
PTAL. https://chromiumcodereview.appspot.com/10820048/diff/7001/chrome/browser/web_resource/notification_promo.h File chrome/browser/web_resource/notification_promo.h (right): https://chromiumcodereview.appspot.com/10820048/diff/7001/chrome/browser/web_resource/notification_promo.h#newcode54 chrome/browser/web_resource/notification_promo.h:54: std::string promo_text() const { return promo_text_; } On ...
8 years, 4 months ago (2012-07-31 07:29:59 UTC) #9
achuithb
lgtm
8 years, 4 months ago (2012-07-31 09:17:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/10820048/5004
8 years, 4 months ago (2012-07-31 09:40:08 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-07-31 11:01:32 UTC) #12
Change committed as 149166

Powered by Google App Engine
This is Rietveld 408576698