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

Issue 5750005: Default apps promo was getting expired early if NTP open. (Closed)

Created:
10 years ago by Aaron Boodman
Modified:
9 years, 6 months ago
Reviewers:
Bons
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, arv (Not doing code reviews), pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Default apps promo was getting expired early if NTP open. This was a timing issue: we had a pref change observer that was triggering refresh of NTP. Inside this refresh, we checked the promo status. But setting up the pref tree of an extension during installation was also triggering this listener. BUG=64736 TEST=See bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69164

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -38 lines) Patch
M chrome/browser/dom_ui/app_launcher_handler.cc View 2 chunks +19 lines, -10 lines 0 comments Download
M chrome/browser/extensions/default_apps.h View 2 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/extensions/default_apps.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/default_apps_unittest.cc View 7 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/resources/ntp/apps.js View 4 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Aaron Boodman
10 years ago (2010-12-14 08:21:10 UTC) #1
Bons
10 years ago (2010-12-14 17:04:17 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698