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

Issue 8520009: Only show G+ promo for users logged into G+ (Closed)

Created:
9 years, 1 month ago by Cait (Slow)
Modified:
9 years ago
Reviewers:
achuithb
CC:
chromium-reviews
Visibility:
Public.

Description

Only show G+ promo for users logged into G+ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112225

Patch Set 1 : '' #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 34

Patch Set 4 : '' #

Total comments: 23

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 45

Patch Set 7 : '' #

Total comments: 18

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -76 lines) Patch
M chrome/browser/ui/webui/ntp/new_tab_page_handler.cc View 1 2 3 4 5 6 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/web_resource/notification_promo.h View 1 2 3 4 5 6 7 6 chunks +39 lines, -6 lines 0 comments Download
M chrome/browser/web_resource/notification_promo.cc View 1 2 3 4 5 6 7 13 chunks +109 lines, -18 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.h View 1 2 3 4 5 6 3 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.cc View 1 2 3 4 5 6 2 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service_unittest.cc View 1 2 3 4 5 6 7 8 16 chunks +129 lines, -32 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
achuithb
Please let me know if you have any questions. http://codereview.chromium.org/8520009/diff/21001/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/8520009/diff/21001/chrome/browser/web_resource/notification_promo.cc#newcode67 chrome/browser/web_resource/notification_promo.cc:67: ...
9 years, 1 month ago (2011-11-16 20:33:11 UTC) #1
Cait (Slow)
I'm a little unclear on how we will know whether or not a cookie was ...
9 years, 1 month ago (2011-11-16 23:05:23 UTC) #2
achuithb
http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc#newcode177 chrome/browser/web_resource/notification_promo.cc:177: gplus_ = found_cookie; Instead of this, you would do: ...
9 years, 1 month ago (2011-11-16 23:17:33 UTC) #3
achuithb
http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc#newcode177 chrome/browser/web_resource/notification_promo.cc:177: gplus_ = found_cookie; Ok, I see the problem. I'm ...
9 years, 1 month ago (2011-11-16 23:27:03 UTC) #4
Cait (Slow)
http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc#newcode180 chrome/browser/web_resource/notification_promo.cc:180: const bool old_gplus = prefs_->GetBoolean(prefs::kNTPPromoIsLoggedInToPlus); On 2011/11/16 23:17:33, achuith.bhandarkar ...
9 years, 1 month ago (2011-11-17 00:05:59 UTC) #5
achuithb
http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/8520009/diff/24001/chrome/browser/web_resource/notification_promo.cc#newcode180 chrome/browser/web_resource/notification_promo.cc:180: const bool old_gplus = prefs_->GetBoolean(prefs::kNTPPromoIsLoggedInToPlus); On 2011/11/17 00:05:59, caitkp ...
9 years, 1 month ago (2011-11-17 00:09:34 UTC) #6
Cait (Slow)
Achuith, Please have a look when you get a chance. The existing unit tests are ...
9 years ago (2011-11-25 20:42:08 UTC) #7
achuithb
Thanks! Let me know if you have any questions! http://codereview.chromium.org/8520009/diff/31001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8520009/diff/31001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode69 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:69: ...
9 years ago (2011-11-27 07:48:25 UTC) #8
Cait (Slow)
http://codereview.chromium.org/8520009/diff/31001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc File chrome/browser/ui/webui/ntp/new_tab_page_handler.cc (right): http://codereview.chromium.org/8520009/diff/31001/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc#newcode69 chrome/browser/ui/webui/ntp/new_tab_page_handler.cc:69: NotificationPromo* notification_promo = NotificationPromo::Factory( On 2011/11/27 07:48:26, achuith.bhandarkar wrote: ...
9 years ago (2011-11-28 19:06:25 UTC) #9
achuithb
I apologize for all the rounds of changes. Please bear with me. I think it's ...
9 years ago (2011-11-28 21:21:22 UTC) #10
Cait (Slow)
http://codereview.chromium.org/8520009/diff/31001/chrome/browser/web_resource/notification_promo.cc File chrome/browser/web_resource/notification_promo.cc (right): http://codereview.chromium.org/8520009/diff/31001/chrome/browser/web_resource/notification_promo.cc#newcode195 chrome/browser/web_resource/notification_promo.cc:195: const bool has_platform = prefs_->HasPrefPath(prefs::kNTPPromoPlatform); On 2011/11/28 21:21:22, achuith.bhandarkar ...
9 years ago (2011-11-29 00:12:27 UTC) #11
achuithb
9 years ago (2011-11-29 03:18:05 UTC) #12
LGTM with nits. Thanks for your patience!

http://codereview.chromium.org/8520009/diff/40010/chrome/browser/web_resource...
File chrome/browser/web_resource/notification_promo.cc (right):

http://codereview.chromium.org/8520009/diff/40010/chrome/browser/web_resource...
chrome/browser/web_resource/notification_promo.cc:205: // we previously never
wrote out a feature_mask or platform preference, or
nit: also fix this comment.

http://codereview.chromium.org/8520009/diff/40010/chrome/browser/web_resource...
File chrome/browser/web_resource/promo_resource_service_unittest.cc (right):

http://codereview.chromium.org/8520009/diff/40010/chrome/browser/web_resource...
chrome/browser/web_resource/promo_resource_service_unittest.cc:257: 
nit: don't think this newline is necessary.

Powered by Google App Engine
This is Rietveld 408576698