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

Issue 2655803002: WebAPKs: Fix play-install variations check (Closed)

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

Description

WebAPKs: Fix play-install variations check This CL: 1) Fixes ChromeWebApkHost#canUseGooglePlayToInstallWebApk() to use variations::GetVariationParamValueByFeature() instead of variations::GetVariationParamValue(). This matches the server side variations configuration. 2) Updates the cached value of whether WebAPKs are enabled (Returned by ChromeWebApkHost#isEnabled()) prior to calling ChromeWebApkHost#canUseGooglePlayToInstallWebApk(). BUG=684804 Review-Url: https://codereview.chromium.org/2655803002 Cr-Commit-Position: refs/heads/master@{#446097} Committed: https://chromium.googlesource.com/chromium/src/+/2a1ffdc2376233aaef5110a1c406a50539a795bd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -10 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/ChromeWebApkHost.java View 5 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/android/webapk/chrome_webapk_host.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/android/webapk/chrome_webapk_host.cc View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
pkotwicz
Dominick, can you please take a look? This CL will unfortunately also need to be ...
3 years, 11 months ago (2017-01-25 02:10:28 UTC) #3
pkotwicz
Update: I will write the CL to make the "Please enable unknown sources" dialog show ...
3 years, 11 months ago (2017-01-25 03:02:59 UTC) #4
dominickn
lgtm, but this class now feels very fragile with when things can and can't be ...
3 years, 11 months ago (2017-01-25 04:05:31 UTC) #5
pkotwicz
Ok, I will add a comment to ChromeWebApkHost#isEnabled() about the method being called prior to ...
3 years, 11 months ago (2017-01-25 04:45:29 UTC) #6
pkotwicz
Clarifying things will require lots of changes to comments. I filed crbug.com/684999 to clarify which ...
3 years, 11 months ago (2017-01-25 04:49:10 UTC) #7
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/2655803002/1
3 years, 11 months ago (2017-01-25 04:49:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/349772)
3 years, 11 months ago (2017-01-25 08:53:44 UTC) #11
pkotwicz
dfalcantara@ for chrome_jni_registrar.cc OWNERS
3 years, 11 months ago (2017-01-25 15:30:10 UTC) #13
gone
that file lgtm
3 years, 11 months ago (2017-01-25 19:11:50 UTC) #14
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/2655803002/1
3 years, 11 months ago (2017-01-25 19:45:59 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 19:56:53 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2a1ffdc2376233aaef5110a1c406...

Powered by Google App Engine
This is Rietveld 408576698