New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 631025 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: ----

Blocking:
issue 609258
issue 624834



Sign in to add a comment

Add calls to the server to request WebAPK updates.

Project Member Reported by hanxi@chromium.org, Jul 25 2016

Issue description

Chrome client communicates with the WebAPK server when a WebAPK needs to be updated.

 
Labels: -Restrict-View-Google
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4ebb44de7b424be3116c02bf685c7cfa9a38aded

commit 4ebb44de7b424be3116c02bf685c7cfa9a38aded
Author: hanxi <hanxi@chromium.org>
Date: Fri Aug 19 00:04:14 2016

Add calls to the server to request WebAPK updates.

Introduce WebApkUpdateManager to manage when to check updates and calls
WebApkInstaller in C++ to send update request to WebAPK Minting Server.

BUG= 631025 

Review-Url: https://codereview.chromium.org/2184913005
Cr-Commit-Position: refs/heads/master@{#412977}

[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java/src/org/chromium/chrome/browser/webapps/ManifestUpgradeDetector.java
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java/src/org/chromium/chrome/browser/webapps/ManifestUpgradeDetectorFetcher.java
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkActivity.java
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java
[add] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkUpdateManager.java
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappDataStorage.java
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/java_sources.gni
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/android/junit/src/org/chromium/chrome/browser/webapps/ManifestUpgradeDetectorTest.java
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/chrome_jni_registrar.cc
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/webapk/webapk.proto
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/webapk/webapk_installer.cc
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/webapk/webapk_installer.h
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/webapk/webapk_installer_unittest.cc
[add] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/webapk/webapk_update_manager.cc
[add] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/browser/android/webapk/webapk_update_manager.h
[modify] https://crrev.com/4ebb44de7b424be3116c02bf685c7cfa9a38aded/chrome/chrome_browser.gypi

Project Member

Comment 3 by bugdroid1@chromium.org, Aug 31 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/47b2313b91606860aa38e09910cdecb7400d1df3

commit 47b2313b91606860aa38e09910cdecb7400d1df3
Author: hanxi <hanxi@chromium.org>
Date: Wed Aug 31 22:07:24 2016

Update WebAPK using downloaded apk.

After request to update a WebAPK, a APK is downloaded by WebAPKInstaller. This CL
enables to install the downloaded WebAPK to finish the updating.

This CL depends on CL (https://codereview.chromium.org/2259553002/).

BUG= 631025 ,  637097 

Review-Url: https://codereview.chromium.org/2264753002
Cr-Commit-Position: refs/heads/master@{#415772}

[modify] https://crrev.com/47b2313b91606860aa38e09910cdecb7400d1df3/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java

Comment 4 by hanxi@chromium.org, Sep 1 2016

Status: Fixed (was: Assigned)

Sign in to add a comment