|
|
Created:
3 years, 10 months ago by dominickn Modified:
3 years, 10 months ago CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, asvitkine+watch_chromium.org, agrieve+watch_chromium.org, chrome-apps-syd-reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionImprove the resolution of the menu item homescreen launch source metric.
This CL deprecates the SOURCE_ADD_TO_HOMESCREEN source for homescreen
launch intents on Android. Three new buckets are added in its place:
SOURCE_ADD_TO_HOMESCREEN_PWA, SOURCE_ADD_TO_HOMESCREEN_STANDALONE, and
SOURCE_ADD_TO_HOMESCREEN_SHORTCUT.
Existing shortcuts are mapped to either the STANDALONE or SHORTCUT
sources, as it is impossible to properly distinguish PWAs from non-PWAs
when added from the menu item prior to this CL. Following this CL, PWAs
added from the menu item are explicitly tagged with
SOURCE_ADD_TO_HOMESCREEN_PWA.
BUG=690266
Review-Url: https://codereview.chromium.org/2697473005
Cr-Commit-Position: refs/heads/master@{#450902}
Committed: https://chromium.googlesource.com/chromium/src/+/de938a8e39930cca0d2a1f8c96f2cdc9b15192de
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comment #
Total comments: 4
Patch Set 3 : Nits #
Messages
Total messages: 39 (23 generated)
The CQ bit was checked by dominickn@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
dominickn@chromium.org changed reviewers: + dfalcantara@chromium.org, pkotwicz@chromium.org, rkaplow@chromium.org
PTAL thanks! dfalcantara: launch_metrics.cc pkotwicz: WebAPKs sanity check rkaplow: histograms
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2697473005/diff/1/chrome/browser/android/shor... File chrome/browser/android/shortcut_info.h (right): https://codereview.chromium.org/2697473005/diff/1/chrome/browser/android/shor... chrome/browser/android/shortcut_info.h:27: SOURCE_ADD_TO_HOMESCREEN = 1, may want to change to OURCE_ADD_TO_HOMESCREEN_DEPRECATED
The CQ bit was checked by dominickn@chromium.org to run a CQ dry run
Thanks! https://codereview.chromium.org/2697473005/diff/1/chrome/browser/android/shor... File chrome/browser/android/shortcut_info.h (right): https://codereview.chromium.org/2697473005/diff/1/chrome/browser/android/shor... chrome/browser/android/shortcut_info.h:27: SOURCE_ADD_TO_HOMESCREEN = 1, On 2017/02/14 03:58:29, rkaplow wrote: > may want to change to OURCE_ADD_TO_HOMESCREEN_DEPRECATED Good thought, done.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... File chrome/browser/android/metrics/launch_metrics.cc (right): https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... chrome/browser/android/metrics/launch_metrics.cc:98: case ShortcutInfo::SOURCE_COUNT: Should SOURCE_COUNT just fall into default:?
https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (right): https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:124: shortcut_info_.display = blink::WebDisplayModeStandalone; Nit: Can you please set the source explicitly here?
The CQ bit was checked by dominickn@chromium.org to run a CQ dry run
Thanks! https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... File chrome/browser/android/metrics/launch_metrics.cc (right): https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... chrome/browser/android/metrics/launch_metrics.cc:98: case ShortcutInfo::SOURCE_COUNT: On 2017/02/14 19:44:51, dfalcantara (load balance plz) wrote: > Should SOURCE_COUNT just fall into default:? I didn't want to have a default case to ensure that any new additions had to be explicitly accounted for. https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (right): https://codereview.chromium.org/2697473005/diff/20001/chrome/browser/android/... chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:124: shortcut_info_.display = blink::WebDisplayModeStandalone; On 2017/02/14 19:47:11, pkotwicz wrote: > Nit: Can you please set the source explicitly here? Good catch, done.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
(FYI Peter: I'll wait for you to lg as well before landing)
LGTM. Thank you for adding the metric. It will be useful in determining how many people install WebAPKs vs classic webapps for WebAPK compatible sites
The CQ bit was checked by dominickn@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from rkaplow@chromium.org, dfalcantara@chromium.org Link to the patchset: https://codereview.chromium.org/2697473005/#ps40001 (title: "Nits")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by dominickn@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by mgiuca@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Exceeded global retry quota
The CQ bit was checked by dominickn@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1487234284779170, "parent_rev": "c129fcf7b932d95939244304d7e6db825c65117b", "commit_rev": "de938a8e39930cca0d2a1f8c96f2cdc9b15192de"}
Message was sent while issue was closed.
Description was changed from ========== Improve the resolution of the menu item homescreen launch source metric. This CL deprecates the SOURCE_ADD_TO_HOMESCREEN source for homescreen launch intents on Android. Three new buckets are added in its place: SOURCE_ADD_TO_HOMESCREEN_PWA, SOURCE_ADD_TO_HOMESCREEN_STANDALONE, and SOURCE_ADD_TO_HOMESCREEN_SHORTCUT. Existing shortcuts are mapped to either the STANDALONE or SHORTCUT sources, as it is impossible to properly distinguish PWAs from non-PWAs when added from the menu item prior to this CL. Following this CL, PWAs added from the menu item are explicitly tagged with SOURCE_ADD_TO_HOMESCREEN_PWA. BUG=690266 ========== to ========== Improve the resolution of the menu item homescreen launch source metric. This CL deprecates the SOURCE_ADD_TO_HOMESCREEN source for homescreen launch intents on Android. Three new buckets are added in its place: SOURCE_ADD_TO_HOMESCREEN_PWA, SOURCE_ADD_TO_HOMESCREEN_STANDALONE, and SOURCE_ADD_TO_HOMESCREEN_SHORTCUT. Existing shortcuts are mapped to either the STANDALONE or SHORTCUT sources, as it is impossible to properly distinguish PWAs from non-PWAs when added from the menu item prior to this CL. Following this CL, PWAs added from the menu item are explicitly tagged with SOURCE_ADD_TO_HOMESCREEN_PWA. BUG=690266 Review-Url: https://codereview.chromium.org/2697473005 Cr-Commit-Position: refs/heads/master@{#450902} Committed: https://chromium.googlesource.com/chromium/src/+/de938a8e39930cca0d2a1f8c96f2... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/de938a8e39930cca0d2a1f8c96f2... |