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

Issue 622813002: [Manifest] Add metrics recording. (Closed)

Created:
6 years, 2 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 2 months ago
Reviewers:
Miguel Garcia, Mark P
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@screen_orientation_usage_count
Project:
chromium
Visibility:
Public.

Description

[Manifest] Add metrics recording. This is recording whether the manifest fetching was successful or failed. It is also recording which properties are present in the parsed Manifest and whether the output of the parsing is empty. Finally, it is recording whether a Manifest was used when creating a shortcut. BUG=366145 Committed: https://crrev.com/269f776a43e8d4534d8040f953a427c91ec4f44e Cr-Commit-Position: refs/heads/master@{#298575}

Patch Set 1 #

Total comments: 12

Patch Set 2 : review comments #

Total comments: 22

Patch Set 3 : review comments #

Total comments: 6

Patch Set 4 : review comments #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -1 line) Patch
M chrome/browser/android/shortcut_helper.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_manager.cc View 1 3 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/manifest/manifest_parser.cc View 1 4 chunks +6 lines, -0 lines 0 comments Download
A content/renderer/manifest/manifest_uma_util.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A content/renderer/manifest/manifest_uma_util.cc View 1 2 3 4 1 chunk +78 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
mlamouri (slow - plz ping)
6 years, 2 months ago (2014-10-02 14:15:44 UTC) #2
mlamouri (slow - plz ping)
6 years, 2 months ago (2014-10-02 14:16:19 UTC) #4
mlamouri (slow - plz ping)
mpearson@, please review changes in tools/metrics/ miguelg@, please review changes in: content/ chrome/
6 years, 2 months ago (2014-10-02 14:17:29 UTC) #6
Miguel Garcia
Good stuff, happy to see we are going to be able to know if manifest ...
6 years, 2 months ago (2014-10-02 14:26:47 UTC) #7
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/622813002/diff/1/content/renderer/manifest/manifest_manager.cc File content/renderer/manifest/manifest_manager.cc (right): https://codereview.chromium.org/622813002/diff/1/content/renderer/manifest/manifest_manager.cc#newcode107 content/renderer/manifest/manifest_manager.cc:107: ManifestUmaUtil::FetchFailed(); On 2014/10/02 14:26:46, Miguel Garcia wrote: > ...
6 years, 2 months ago (2014-10-02 15:35:06 UTC) #8
Miguel Garcia
https://codereview.chromium.org/622813002/diff/20001/content/renderer/manifest/manifest_manager.cc File content/renderer/manifest/manifest_manager.cc (right): https://codereview.chromium.org/622813002/diff/20001/content/renderer/manifest/manifest_manager.cc#newcode127 content/renderer/manifest/manifest_manager.cc:127: ManifestUmaUtil::FetchFailed(ManifestUmaUtil::FETCH_UNSPECIFIED_REASON); This can happen if fetching the url throws ...
6 years, 2 months ago (2014-10-02 15:56:43 UTC) #9
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/622813002/diff/20001/content/renderer/manifest/manifest_manager.cc File content/renderer/manifest/manifest_manager.cc (right): https://codereview.chromium.org/622813002/diff/20001/content/renderer/manifest/manifest_manager.cc#newcode127 content/renderer/manifest/manifest_manager.cc:127: ManifestUmaUtil::FetchFailed(ManifestUmaUtil::FETCH_UNSPECIFIED_REASON); On 2014/10/02 15:56:42, Miguel Garcia wrote: > ...
6 years, 2 months ago (2014-10-02 16:10:55 UTC) #10
Mark P
You seem to be using histograms.xml incorrectly. You should have an entry in there for ...
6 years, 2 months ago (2014-10-03 19:33:19 UTC) #11
Mark P
Oops, ignore my histograms.xml comment. I didn't see the suffix list stuff at the end ...
6 years, 2 months ago (2014-10-03 19:34:04 UTC) #12
Mark P
I only reviewed histograms.xml and the UMA_ calls themselves, not anything else. I'll leave that ...
6 years, 2 months ago (2014-10-03 19:57:50 UTC) #13
mlamouri (slow - plz ping)
Review comments applied. PTAL. https://codereview.chromium.org/622813002/diff/20001/content/renderer/manifest/manifest_uma_util.cc File content/renderer/manifest/manifest_uma_util.cc (right): https://codereview.chromium.org/622813002/diff/20001/content/renderer/manifest/manifest_uma_util.cc#newcode14 content/renderer/manifest/manifest_uma_util.cc:14: enum ManifestFetchResultType { On 2014/10/03 ...
6 years, 2 months ago (2014-10-07 11:11:39 UTC) #14
Miguel Garcia
lgtm
6 years, 2 months ago (2014-10-07 14:45:10 UTC) #15
Mark P
https://codereview.chromium.org/622813002/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/622813002/diff/40001/tools/metrics/actions/actions.xml#newcode11606 tools/metrics/actions/actions.xml:11606: recorded in addition of AppShortcut, AppShortcutApple and Bookmark actions ...
6 years, 2 months ago (2014-10-07 16:43:53 UTC) #16
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/622813002/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/622813002/diff/40001/tools/metrics/actions/actions.xml#newcode11606 tools/metrics/actions/actions.xml:11606: recorded in addition of AppShortcut, AppShortcutApple and Bookmark ...
6 years, 2 months ago (2014-10-07 17:30:42 UTC) #17
Mark P
lgtm
6 years, 2 months ago (2014-10-07 17:53:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/622813002/80001
6 years, 2 months ago (2014-10-07 19:46:15 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 79317ae75f627a57396187e20e95daea397bc94c
6 years, 2 months ago (2014-10-07 21:24:48 UTC) #21
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 21:25:24 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/269f776a43e8d4534d8040f953a427c91ec4f44e
Cr-Commit-Position: refs/heads/master@{#298575}

Powered by Google App Engine
This is Rietveld 408576698