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

Issue 2739303005: Explicitly check for an installed WebAPK before starting installation (Closed)

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

Description

Explicitly check for an installed WebAPK before starting installation This CL moves the checking for whether a WebAPK is already installed from GooglePlayWebApkInstallDelegate to WebApkInstaller. This enables checking whether the WebAPK is already installed only for installs and not updates. Previously, the check was done for both installs and updates and prevented updates from occurring. BUG=699870 Review-Url: https://codereview.chromium.org/2739303005 Cr-Commit-Position: refs/heads/master@{#456436} Committed: https://chromium.googlesource.com/chromium/src/+/5ed6bd7f20513e2df40909ccd6e1935d3021fcb3

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix WebAPK updates #

Patch Set 3 : Fix WebAPK updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
pkotwicz
Dominick, can you please take a look? https://codereview.chromium.org/2739303005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/GooglePlayWebApkInstallDelegate.java File chrome/android/java/src/org/chromium/chrome/browser/webapps/GooglePlayWebApkInstallDelegate.java (right): https://codereview.chromium.org/2739303005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/webapps/GooglePlayWebApkInstallDelegate.java#newcode56 chrome/android/java/src/org/chromium/chrome/browser/webapps/GooglePlayWebApkInstallDelegate.java:56: Callback<Boolean> callback); ...
3 years, 9 months ago (2017-03-11 01:55:53 UTC) #3
pkotwicz
The reason that I am moving the check to WebApkInstaller.java is that it makes it ...
3 years, 9 months ago (2017-03-12 18:45:00 UTC) #5
dominickn
lgtm, but can you make the title more descriptive than "Fix WebAPK updates"? Perhaps "Explicitly ...
3 years, 9 months ago (2017-03-13 02:22:43 UTC) #6
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/2739303005/40001
3 years, 9 months ago (2017-03-13 17:47:34 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 18:27:27 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5ed6bd7f20513e2df40909ccd6e1...

Powered by Google App Engine
This is Rietveld 408576698