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

Issue 2375503003: Pass WebAPK install source to AppBannerInfobarDelegateAndroid constructor. (Closed)

Created:
4 years, 2 months ago by Xi Han
Modified:
4 years, 2 months ago
Reviewers:
dominickn, pkotwicz
CC:
chromium-reviews, dominickn+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass WebAPK install source to AppBannerInfobarDelegateAndroid constructor. This is a follow up CL for CL (https://codereview.chromium.org/2301263004). The InstallSource is passed into the constructor of AppBannerInfoBarDelegationAndroid, so we can call Accept() instead of AcceptWebApk() when installing a WebAPK from add-to-homescreen menu. BUG=626510 Committed: https://crrev.com/07373421ccbda77a1a3882bd045fbf4ce1a707fa Cr-Commit-Position: refs/heads/master@{#421202}

Patch Set 1 #

Patch Set 2 : Nits. #

Total comments: 4

Patch Set 3 : pkotwicz@'s comments. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -22 lines) Patch
M chrome/browser/android/banners/app_banner_infobar_delegate_android.h View 1 2 7 chunks +18 lines, -9 lines 2 comments Download
M chrome/browser/android/banners/app_banner_infobar_delegate_android.cc View 1 2 8 chunks +9 lines, -11 lines 0 comments Download
M chrome/browser/android/banners/app_banner_manager_android.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_manager.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 18 (10 generated)
Xi Han
Hi Peter, could you please take a look? Thanks!
4 years, 2 months ago (2016-09-26 19:45:09 UTC) #4
pkotwicz
LGTM with nits Can you change the CL title to something more descriptive. For instance: ...
4 years, 2 months ago (2016-09-26 20:23:11 UTC) #5
Xi Han
Hi dominickn@: please take a look, thanks! https://codereview.chromium.org/2375503003/diff/20001/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/2375503003/diff/20001/chrome/browser/android/banners/app_banner_infobar_delegate_android.h#newcode116 chrome/browser/android/banners/app_banner_infobar_delegate_android.h:116: bool AcceptWebApk(content::WebContents* ...
4 years, 2 months ago (2016-09-26 20:33:31 UTC) #9
dominickn
lgtm % nit https://codereview.chromium.org/2375503003/diff/60001/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/2375503003/diff/60001/chrome/browser/android/banners/app_banner_infobar_delegate_android.h#newcode75 chrome/browser/android/banners/app_banner_infobar_delegate_android.h:75: // ConfirmInfoBarDelegate: Does this method need ...
4 years, 2 months ago (2016-09-27 01:36:55 UTC) #10
Xi Han
https://codereview.chromium.org/2375503003/diff/60001/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/2375503003/diff/60001/chrome/browser/android/banners/app_banner_infobar_delegate_android.h#newcode75 chrome/browser/android/banners/app_banner_infobar_delegate_android.h:75: // ConfirmInfoBarDelegate: On 2016/09/27 01:36:55, dominickn wrote: > Does ...
4 years, 2 months ago (2016-09-27 13:44:04 UTC) #11
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/2375503003/60001
4 years, 2 months ago (2016-09-27 13:44:30 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-09-27 14:36:34 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 14:39:48 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/07373421ccbda77a1a3882bd045fbf4ce1a707fa
Cr-Commit-Position: refs/heads/master@{#421202}

Powered by Google App Engine
This is Rietveld 408576698