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

Issue 1272373003: Add extension event histogram values for messaging, webRequest, and webview. (Closed)

Created:
5 years, 4 months ago by not at google - send to devlin
Modified:
5 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add extension event histogram values for messaging, webRequest, and webview. These didn't make it into my last 5 patches because they needed to be hand written. Now, everything is plumbed through to the UMA_HISTOGRAM_ENUMERATION calls - which I will add in a follow-up - so this should be the last of it. BUG=503402 R=rdevlin.cronin@chromium.org, asvitkine@chromium.org Committed: https://crrev.com/a9f6e67ad01169650c9627bba46e54d3ab0e1933 Cr-Commit-Position: refs/heads/master@{#342749}

Patch Set 1 #

Total comments: 15

Patch Set 2 : devlin #

Total comments: 5

Patch Set 3 : devlin2 #

Patch Set 4 : last #

Unified diffs Side-by-side diffs Delta from patch set Stats (+554 lines, -155 lines) Patch
M chrome/browser/extensions/api/messaging/message_service.h View 1 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/messaging/message_service.cc View 1 2 3 27 chunks +109 lines, -28 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_unittest.cc View 1 8 chunks +42 lines, -31 lines 0 comments Download
M extensions/browser/api/web_request/web_request_api.h View 1 chunk +11 lines, -11 lines 0 comments Download
M extensions/browser/api/web_request/web_request_api.cc View 1 2 11 chunks +68 lines, -25 lines 0 comments Download
M extensions/browser/event_router.h View 1 2 6 chunks +32 lines, -15 lines 0 comments Download
M extensions/browser/event_router.cc View 1 2 10 chunks +65 lines, -31 lines 0 comments Download
M extensions/browser/extension_event_histogram_value.h View 1 chunk +33 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/extensions_guest_view_manager_delegate.cc View 1 2 3 chunks +15 lines, -8 lines 0 comments Download
A extensions/browser/guest_view/guest_view_events.h View 1 chunk +23 lines, -0 lines 0 comments Download
A extensions/browser/guest_view/guest_view_events.cc View 1 1 chunk +102 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_constants.h View 3 chunks +5 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_constants.cc View 3 chunks +5 lines, -0 lines 0 comments Download
M extensions/extensions.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/resources/extension_custom_bindings.js View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
not at google - send to devlin
https://codereview.chromium.org/1272373003/diff/1/extensions/browser/event_router.cc File extensions/browser/event_router.cc (right): https://codereview.chromium.org/1272373003/diff/1/extensions/browser/event_router.cc#newcode777 extensions/browser/event_router.cc:777: // TODO(kalman): UMA specifically for component extensions. I will ...
5 years, 4 months ago (2015-08-05 20:23:43 UTC) #1
not at google - send to devlin
Oh, rdcronin - everything, asvitkine - extension_event_histogram_value and histograms.xml.
5 years, 4 months ago (2015-08-05 20:24:44 UTC) #2
Devlin
https://codereview.chromium.org/1272373003/diff/1/extensions/browser/event_router.cc File extensions/browser/event_router.cc (right): https://codereview.chromium.org/1272373003/diff/1/extensions/browser/event_router.cc#newcode531 extensions/browser/event_router.cc:531: event, listener->filter(), false); there are a few more of ...
5 years, 4 months ago (2015-08-05 21:34:09 UTC) #3
not at google - send to devlin
ping @ Alexei https://codereview.chromium.org/1272373003/diff/1/extensions/browser/event_router.cc File extensions/browser/event_router.cc (right): https://codereview.chromium.org/1272373003/diff/1/extensions/browser/event_router.cc#newcode531 extensions/browser/event_router.cc:531: event, listener->filter(), false); On 2015/08/05 21:34:09, ...
5 years, 4 months ago (2015-08-07 20:55:04 UTC) #4
Alexei Svitkine (slow)
lgtm
5 years, 4 months ago (2015-08-07 21:02:17 UTC) #5
Devlin
lgtm https://codereview.chromium.org/1272373003/diff/20001/chrome/browser/extensions/api/messaging/message_service.cc File chrome/browser/extensions/api/messaging/message_service.cc (right): https://codereview.chromium.org/1272373003/diff/20001/chrome/browser/extensions/api/messaging/message_service.cc#newcode557 chrome/browser/extensions/api/messaging/message_service.cc:557: DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_EQ(target_extension != nullptr, params->extension_id.empty())? https://codereview.chromium.org/1272373003/diff/20001/extensions/browser/event_router.h File extensions/browser/event_router.h ...
5 years, 4 months ago (2015-08-07 21:25:47 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/1272373003/diff/20001/chrome/browser/extensions/api/messaging/message_service.cc File chrome/browser/extensions/api/messaging/message_service.cc (right): https://codereview.chromium.org/1272373003/diff/20001/chrome/browser/extensions/api/messaging/message_service.cc#newcode557 chrome/browser/extensions/api/messaging/message_service.cc:557: DCHECK_CURRENTLY_ON(BrowserThread::UI); On 2015/08/07 21:25:47, Devlin (OOO til 8-13) wrote: ...
5 years, 4 months ago (2015-08-10 20:48:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272373003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272373003/60001
5 years, 4 months ago (2015-08-10 20:50:05 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/38010) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 4 months ago (2015-08-10 21:33:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272373003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272373003/80001
5 years, 4 months ago (2015-08-10 23:13:24 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 4 months ago (2015-08-11 00:22:57 UTC) #17
commit-bot: I haz the power
5 years, 4 months ago (2015-08-11 00:23:36 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a9f6e67ad01169650c9627bba46e54d3ab0e1933
Cr-Commit-Position: refs/heads/master@{#342749}

Powered by Google App Engine
This is Rietveld 408576698