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

Issue 1407163002: Add feature use counting for window.external.AddSearchProvider (Blink side). (Closed)

Created:
5 years, 2 months ago by Evan Stade
Modified:
5 years, 2 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, dglazkov+blink, extensions-reviews_chromium.org, mlamouri+watch-blink_chromium.org, esprehn
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add feature use counting for window.external.AddSearchProvider (Blink side). See also https://codereview.chromium.org/1410823003/ BUG=542487, 521128 Committed: https://crrev.com/75f8614691dcbe73f10d690c11af9d33c7e92530 Cr-Commit-Position: refs/heads/master@{#355849}

Patch Set 1 #

Patch Set 2 : usecounter #

Total comments: 2

Patch Set 3 : dcheng review #

Patch Set 4 : rebase and histograms update #

Patch Set 5 : remove dbg line #

Patch Set 6 : rebase #

Patch Set 7 : way too much contention on this enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -5 lines) Patch
M chrome/renderer/external_extension.cc View 1 2 4 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (18 generated)
Evan Stade
+jochen can review everything, but he said he would be ooo, so +dcheng for review ...
5 years, 2 months ago (2015-10-17 00:58:07 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407163002/20001
5 years, 2 months ago (2015-10-17 00:58:52 UTC) #4
dcheng
Any particular reason not to just combine the two patches?
5 years, 2 months ago (2015-10-17 01:11:46 UTC) #5
dcheng
https://codereview.chromium.org/1407163002/diff/20001/chrome/renderer/external_extension.cc File chrome/renderer/external_extension.cc (right): https://codereview.chromium.org/1407163002/diff/20001/chrome/renderer/external_extension.cc#newcode148 chrome/renderer/external_extension.cc:148: webframe->countFeatureUse( Why not just add a UMA in Chrome? ...
5 years, 2 months ago (2015-10-17 01:15:21 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-17 02:19:09 UTC) #8
Evan Stade
> Any particular reason not to just combine the two patches? They are atomic and ...
5 years, 2 months ago (2015-10-18 03:26:10 UTC) #9
dcheng
Instead of exposing UseCounter (and providing a tempting surface for people to try to add ...
5 years, 2 months ago (2015-10-19 21:49:36 UTC) #10
Evan Stade
On 2015/10/19 21:49:36, dcheng wrote: > Instead of exposing UseCounter (and providing a tempting surface ...
5 years, 2 months ago (2015-10-19 23:12:00 UTC) #11
dcheng
lgtm
5 years, 2 months ago (2015-10-19 23:18:09 UTC) #12
Evan Stade
forgot to ask, is there an easy way to verify this is working, similar to ...
5 years, 2 months ago (2015-10-19 23:22:35 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407163002/40001
5 years, 2 months ago (2015-10-19 23:22:59 UTC) #15
dcheng
On 2015/10/19 at 23:22:35, estade wrote: > forgot to ask, is there an easy way ...
5 years, 2 months ago (2015-10-19 23:23:49 UTC) #16
Lei Zhang
chrome/ lgtm
5 years, 2 months ago (2015-10-19 23:24:08 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/83291) ios_rel_device_ninja on ...
5 years, 2 months ago (2015-10-19 23:26:12 UTC) #19
Evan Stade
On 2015/10/19 23:23:49, dcheng wrote: > On 2015/10/19 at 23:22:35, estade wrote: > > forgot ...
5 years, 2 months ago (2015-10-20 00:03:19 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407163002/80001
5 years, 2 months ago (2015-10-20 00:07:18 UTC) #24
Evan Stade
+Ilya, do you have any insight into why this wouldn't show up in chrome://histograms? Something ...
5 years, 2 months ago (2015-10-20 00:50:31 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-20 01:20:12 UTC) #28
Ilya Sherman
histograms.xml lgtm On 2015/10/20 00:50:31, Evan Stade wrote: > +Ilya, do you have any insight ...
5 years, 2 months ago (2015-10-20 02:26:52 UTC) #29
jochen (gone - plz use gerrit)
I'd prefer a WebUseCounter that exposes enums for the features you want to observe: - ...
5 years, 2 months ago (2015-10-20 08:08:06 UTC) #30
Evan Stade
On 2015/10/20 08:08:06, jochen wrote: > I'd prefer a WebUseCounter that exposes enums for the ...
5 years, 2 months ago (2015-10-20 15:15:58 UTC) #31
jochen (gone - plz use gerrit)
On 2015/10/20 at 15:15:58, estade wrote: > On 2015/10/20 08:08:06, jochen wrote: > > I'd ...
5 years, 2 months ago (2015-10-20 15:33:01 UTC) #32
Evan Stade
On 2015/10/20 15:33:01, jochen wrote: > On 2015/10/20 at 15:15:58, estade wrote: > > On ...
5 years, 2 months ago (2015-10-20 16:00:28 UTC) #33
dcheng
On 2015/10/20 at 16:00:28, estade wrote: > On 2015/10/20 15:33:01, jochen wrote: > > On ...
5 years, 2 months ago (2015-10-20 16:27:51 UTC) #34
jochen (gone - plz use gerrit)
I chatted with Daniel, and we came to the agreement to go with this version, ...
5 years, 2 months ago (2015-10-20 18:04:50 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407163002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407163002/80001
5 years, 2 months ago (2015-10-20 18:34:18 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/111108)
5 years, 2 months ago (2015-10-20 18:53:50 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407163002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407163002/100001
5 years, 2 months ago (2015-10-23 01:20:06 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/113309) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-23 01:23:14 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407163002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407163002/120001
5 years, 2 months ago (2015-10-23 17:41:12 UTC) #48
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-23 18:55:51 UTC) #49
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 18:57:54 UTC) #50
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/75f8614691dcbe73f10d690c11af9d33c7e92530
Cr-Commit-Position: refs/heads/master@{#355849}

Powered by Google App Engine
This is Rietveld 408576698