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

Issue 2362813003: Make it clear that AddToHomescreenDataFetcher ignores WebApplicationInfo for WebAPK compatible pages (Closed)

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

Description

Make it clear that AddToHomescreenDataFetcher ignores WebApplicationInfo for WebAPK compatible pages This CL: - Changes AddToHomescreenDataFetcher to make it clearer that WebApplicationInfo is ignored for WebAPK compatible pages. - Adds tests checking that WebApplicationInfo is ignored BUG=638468 Committed: https://crrev.com/0749dfd34ea2aba53f29bb83c0d19d2ea825b6f9 Cr-Commit-Position: refs/heads/master@{#421531}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Merge branch 'master' into remove_unneeded_var3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -3 lines) Patch
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc View 1 3 chunks +59 lines, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
pkotwicz
Xi, can you please take a look? This CL depends on https://codereview.chromium.org/2354363007/
4 years, 3 months ago (2016-09-23 15:36:10 UTC) #2
Xi Han
One silly question: why we don't let WebAPK support application-info? Is there any other reason ...
4 years, 2 months ago (2016-09-26 14:56:51 UTC) #3
pkotwicz
We don't let WebAPKs support application-info because the WAM server does not know about the ...
4 years, 2 months ago (2016-09-26 17:05:38 UTC) #4
Xi Han
Thanks for the explanation, yes, it makes sense to me now:) https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (left): ...
4 years, 2 months ago (2016-09-26 17:48:12 UTC) #5
pkotwicz
https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (left): https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc#oldcode117 chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:117: web_app_info.description.substr(0, chrome::kMaxMetaTagAttributeLength); |web_app_info| is a variable which is local ...
4 years, 2 months ago (2016-09-26 20:13:47 UTC) #6
Xi Han
lgtm https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (left): https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc#oldcode117 chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:117: web_app_info.description.substr(0, chrome::kMaxMetaTagAttributeLength); On 2016/09/26 20:13:47, pkotwicz wrote: > ...
4 years, 2 months ago (2016-09-26 20:15:41 UTC) #7
pkotwicz
Dominick for OWNERS
4 years, 2 months ago (2016-09-27 01:19:03 UTC) #9
dominickn
lgtm % nit. https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (right): https://codereview.chromium.org/2362813003/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc#newcode215 chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:215: shortcut_info_ = ShortcutInfo(GURL()); Nit: remove braces. ...
4 years, 2 months ago (2016-09-27 01:51:28 UTC) #10
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/2362813003/40001
4 years, 2 months ago (2016-09-28 15:19:51 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 2 months ago (2016-09-28 15:57:27 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0749dfd34ea2aba53f29bb83c0d19d2ea825b6f9 Cr-Commit-Position: refs/heads/master@{#421531}
4 years, 2 months ago (2016-09-28 16:03:11 UTC) #17
jaydasika
4 years, 2 months ago (2016-09-30 18:20:29 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:40001) has been created in
https://codereview.chromium.org/2385843002/ by jaydasika@chromium.org.

The reason for reverting is:
"CheckWebApkCompatibility/AddToHomescreenDataFetcherTestCommon.ManifestShortNameClobbersWebApplicationName/0"
is flaky on android_n5x_swarming_rel
(https://bugs.chromium.org/p/chromium/issues/detail?id=651289).

Powered by Google App Engine
This is Rietveld 408576698