Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
M110 merge: Modify website usage UKM to use the NAVIGATION_ID and CHR…
…OMEOS_WEBSITE_ID source type. Modify WebsiteMetrics: 1. For the urls saved in the user pref, since we can't get the web_contents from the previous user session, call GetSourceIdForChromeOSWebsiteURL to generate the source id. 2. For the realtime url, since we can get web_contents, call GetPageUkmSourceId to get the source id from web_contents with the NAVIGATION_ID source type. Remove UrlContent, because we don't report scope and only report the full url. Modify test cases to align with the change: 1. Remove UrlContent. 2. Record the full url, not the scope for the website with manifest. BUG=1401207, b:254508887 (cherry picked from commit e7a16c1) Change-Id: Ifda002acb93893650f592a8dc361d7dc1aa698fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4112860 Reviewed-by: Robert Kaplow <rkaplow@chromium.org> Reviewed-by: Yue Ru Sun <yrsun@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1091617} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4179390 Cr-Commit-Position: refs/branch-heads/5481@{#474} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Nancy Wang
authored and
Chromium LUCI CQ
committed
Jan 19, 2023
1 parent
7faa946
commit cd78b3a
Showing
6 changed files
with
160 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.