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

Issue 1403833002: Material PDF: Add metrics to count usage of PDF title and bookmarks (Closed)

Created:
5 years, 2 months ago by tsergeant
Modified:
5 years, 2 months ago
CC:
arv+watch_chromium.org, asvitkine+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Material PDF: Add metrics to count usage of PDF title and bookmarks Support for these metadata fields was added recently, this will allow us to determine how commonly these features are used. BUG=439114 Committed: https://crrev.com/f3f7317c276814ad1774776edfcfbc9e94a184bd Cr-Commit-Position: refs/heads/master@{#354413}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Rewrite to use histograms #

Total comments: 1

Patch Set 4 : Remove braces #

Total comments: 2

Patch Set 5 : Use a single histogram #

Patch Set 6 : Use a single histogram #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M pdf/out_of_process_instance.cc View 1 2 3 4 3 chunks +19 lines, -2 lines 1 comment Download
M tools/metrics/actions/extract_actions.py View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
tsergeant
5 years, 2 months ago (2015-10-13 00:46:13 UTC) #2
raymes
lgtm https://codereview.chromium.org/1403833002/diff/20001/tools/metrics/actions/extract_actions.py File tools/metrics/actions/extract_actions.py (right): https://codereview.chromium.org/1403833002/diff/20001/tools/metrics/actions/extract_actions.py#newcode224 tools/metrics/actions/extract_actions.py:224: actions.add('PDF_Unsupported_XFA') Hmm can we remove the ones that ...
5 years, 2 months ago (2015-10-13 05:27:54 UTC) #3
Alexei Svitkine (slow)
What's the reason for logging these as actions as opposed to a histogram? Actions have ...
5 years, 2 months ago (2015-10-13 16:44:25 UTC) #5
tsergeant
Done, the use of actions was mostly just because the surrounding code uses actions. Thanks ...
5 years, 2 months ago (2015-10-14 02:28:48 UTC) #6
tsergeant
https://codereview.chromium.org/1403833002/diff/20001/tools/metrics/actions/extract_actions.py File tools/metrics/actions/extract_actions.py (right): https://codereview.chromium.org/1403833002/diff/20001/tools/metrics/actions/extract_actions.py#newcode224 tools/metrics/actions/extract_actions.py:224: actions.add('PDF_Unsupported_XFA') On 2015/10/14 at 02:28:48, tsergeant wrote: > On ...
5 years, 2 months ago (2015-10-14 02:36:50 UTC) #7
raymes
pdf/out_of_process_instance.cc lgtm https://codereview.chromium.org/1403833002/diff/40001/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/1403833002/diff/40001/pdf/out_of_process_instance.cc#newcode1117 pdf/out_of_process_instance.cc:1117: if (has_title) { nit: don't need {
5 years, 2 months ago (2015-10-14 02:39:08 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/1403833002/diff/20001/tools/metrics/actions/extract_actions.py File tools/metrics/actions/extract_actions.py (right): https://codereview.chromium.org/1403833002/diff/20001/tools/metrics/actions/extract_actions.py#newcode224 tools/metrics/actions/extract_actions.py:224: actions.add('PDF_Unsupported_XFA') On 2015/10/14 02:36:50, tsergeant wrote: > On 2015/10/14 ...
5 years, 2 months ago (2015-10-14 15:01:50 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/1403833002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1403833002/diff/60001/tools/metrics/histograms/histograms.xml#newcode30831 tools/metrics/histograms/histograms.xml:30831: + Tracks which features are used by documents opened ...
5 years, 2 months ago (2015-10-14 15:06:10 UTC) #10
tsergeant
https://codereview.chromium.org/1403833002/diff/110004/pdf/out_of_process_instance.cc File pdf/out_of_process_instance.cc (right): https://codereview.chromium.org/1403833002/diff/110004/pdf/out_of_process_instance.cc#newcode1111 pdf/out_of_process_instance.cc:1111: UserMetricsRecordAction("PDF.LoadSuccess"); This action is now obsolete, but I'll follow ...
5 years, 2 months ago (2015-10-15 03:00:37 UTC) #12
Alexei Svitkine (slow)
lgtm
5 years, 2 months ago (2015-10-15 19:12:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1403833002/110004 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1403833002/110004
5 years, 2 months ago (2015-10-15 23:15:52 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:110004)
5 years, 2 months ago (2015-10-16 00:27:15 UTC) #17
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 00:27:56 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f3f7317c276814ad1774776edfcfbc9e94a184bd
Cr-Commit-Position: refs/heads/master@{#354413}

Powered by Google App Engine
This is Rietveld 408576698