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

Issue 2707773003: Improve the resolution of the menu item homescreen launch source metric. (Closed)

Created:
3 years, 10 months ago by dominickn
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2987
Project:
chromium
Visibility:
Public.

Description

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} (cherry picked from commit de938a8e39930cca0d2a1f8c96f2cdc9b15192de) Review-Url: https://codereview.chromium.org/2707773003 . Cr-Commit-Position: refs/branch-heads/2987@{#593} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} Committed: https://chromium.googlesource.com/chromium/src/+/3feb5fba279ded7c74309592bc573063de5fd28f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -26 lines) Patch
M chrome/browser/android/metrics/launch_metrics.cc View 2 chunks +42 lines, -14 lines 0 comments Download
M chrome/browser/android/shortcut_info.h View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/android/shortcut_info.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 3 chunks +14 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 2 (1 generated)
dominickn
3 years, 10 months ago (2017-02-20 06:36:39 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
3feb5fba279ded7c74309592bc573063de5fd28f.

Powered by Google App Engine
This is Rietveld 408576698