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

Issue 2023903003: [WIP] Add WebCore.UseCounter UMA to supercede FeatureObserver (Closed)

Created:
4 years, 6 months ago by Rick Byers
Modified:
4 years, 3 months ago
Reviewers:
dtapuska
CC:
chromium-reviews, kinuko+worker_chromium.org, tyoshino+watch_chromium.org, falken, loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, horo+watch_chromium.org, Nate Chapin, blink-worker-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 WebCore.UseCounter UMA to supercede FeatureObserver [NOT Yet for full review - waiting on discussion for how best to measure PageVisits] Due to renderer fast shutdown we can't rely on reporting metrics at Page destruction time, and the PageVisits scaling factor is also wildly inaccurate. Refactor the UseCounter code to move the buggy logic for the existing metrics into a LegacyCounter class, and implement a new set of metrics under WebCore.UseCounter. BUG=236262, 597963

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -109 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 2 chunks +27 lines, -39 lines 3 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 6 chunks +114 lines, -62 lines 1 comment Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 chunk +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (2 generated)
dtapuska
https://codereview.chromium.org/2023903003/diff/1/third_party/WebKit/Source/core/frame/UseCounter.cpp File third_party/WebKit/Source/core/frame/UseCounter.cpp (right): https://codereview.chromium.org/2023903003/diff/1/third_party/WebKit/Source/core/frame/UseCounter.cpp#newcode641 third_party/WebKit/Source/core/frame/UseCounter.cpp:641: useCounterHistogram().count(PageVisits); Are you explicitly counting here even though muted ...
4 years, 6 months ago (2016-05-31 01:10:52 UTC) #2
Rick Byers
4 years, 3 months ago (2016-08-29 19:00:30 UTC) #4

Powered by Google App Engine
This is Rietveld 408576698