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

Issue 2848703005: Fix appinstalled event firing when user opens a WebAPK from banner. (Closed)

Created:
3 years, 7 months ago by Matt Giuca
Modified:
3 years, 7 months ago
Reviewers:
dominickn
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix appinstalled event firing when user opens a WebAPK from banner. The "Open" button was calling SendBannerAccepted, which made the assumption that the app was being installed. Removed this call and documented the method's semantics. BUG=716313 Review-Url: https://codereview.chromium.org/2848703005 Cr-Commit-Position: refs/heads/master@{#467903} Committed: https://chromium.googlesource.com/chromium/src/+/d398f548f1929bf2a8307d02bc69065cd7cdc035

Patch Set 1 #

Total comments: 2

Patch Set 2 : Better comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/android/banners/app_banner_infobar_delegate_android.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/banners/app_banner_infobar_delegate_android.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Matt Giuca
As with the previous change, I have no way to test this locally (WebAPK only), ...
3 years, 7 months ago (2017-04-28 03:53:11 UTC) #2
dominickn
lgtm % nit, thanks! https://codereview.chromium.org/2848703005/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.h File chrome/browser/android/banners/app_banner_infobar_delegate_android.h (right): https://codereview.chromium.org/2848703005/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.h#newcode125 chrome/browser/android/banners/app_banner_infobar_delegate_android.h:125: // Called when the user ...
3 years, 7 months ago (2017-04-28 03:57:23 UTC) #3
Matt Giuca
https://codereview.chromium.org/2848703005/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.h File chrome/browser/android/banners/app_banner_infobar_delegate_android.h (right): https://codereview.chromium.org/2848703005/diff/1/chrome/browser/android/banners/app_banner_infobar_delegate_android.h#newcode125 chrome/browser/android/banners/app_banner_infobar_delegate_android.h:125: // Called when the user accepts the banner to ...
3 years, 7 months ago (2017-04-28 03:59:19 UTC) #4
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/2848703005/20001
3 years, 7 months ago (2017-04-28 03:59:55 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 05:31:19 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d398f548f1929bf2a8307d02bc69...

Powered by Google App Engine
This is Rietveld 408576698