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

Issue 2858403002: Extensions: Add UMA to monitor whether a webview request has DWR rules to be evaluated. (Closed)

Created:
3 years, 7 months ago by karandeepb
Modified:
3 years, 7 months ago
Reviewers:
lazyboy, Ilya Sherman
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, asvitkine+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Extensions: Add UMA to monitor whether a webview request has DWR rules to be evaluated. This CL adds Extensions.DeclarativeWebRequest.WebViewRequestDeclarativeRules histogram that tracks whether a network request from a guest <webview> has any declarative web request rules to be evaluated. This should help us gather data regarding how often the declarative web request API is used by webviews and to decide a future course of action for the API once Declarative Net Request is launched. BUG=696822 Review-Url: https://codereview.chromium.org/2858403002 Cr-Commit-Position: refs/heads/master@{#469842} Committed: https://chromium.googlesource.com/chromium/src/+/8f1d69227086e739c76da1a22a17134980cb4f6b

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Clarify histogram description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M extensions/browser/api/web_request/web_request_api.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (19 generated)
karandeepb
PTAL Istiaque. Do you have ideas on other good metrics to collect for measuring DWR ...
3 years, 7 months ago (2017-05-05 00:27:26 UTC) #3
lazyboy
https://codereview.chromium.org/2858403002/diff/20001/extensions/browser/api/web_request/web_request_api.cc File extensions/browser/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/2858403002/diff/20001/extensions/browser/api/web_request/web_request_api.cc#newcode2005 extensions/browser/api/web_request/web_request_api.cc:2005: "Extensions.DeclarativeWebRequest.WebViewRequestDeclarativeRules", relevant_registries.empty() == true doesn't necessarily mean that webview ...
3 years, 7 months ago (2017-05-05 17:46:46 UTC) #8
karandeepb
PTAL Istiaque. https://codereview.chromium.org/2858403002/diff/20001/extensions/browser/api/web_request/web_request_api.cc File extensions/browser/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/2858403002/diff/20001/extensions/browser/api/web_request/web_request_api.cc#newcode2005 extensions/browser/api/web_request/web_request_api.cc:2005: "Extensions.DeclarativeWebRequest.WebViewRequestDeclarativeRules", On 2017/05/05 17:46:45, lazyboy wrote: > ...
3 years, 7 months ago (2017-05-05 18:40:27 UTC) #14
lazyboy
lgtm
3 years, 7 months ago (2017-05-05 18:50:21 UTC) #15
karandeepb
+isherman@ for histograms review.
3 years, 7 months ago (2017-05-05 18:58:23 UTC) #17
Ilya Sherman
Metrics LGTM, thanks.
3 years, 7 months ago (2017-05-05 19:58:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858403002/80001
3 years, 7 months ago (2017-05-05 20:09:21 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/286927)
3 years, 7 months ago (2017-05-05 23:30:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2858403002/80001
3 years, 7 months ago (2017-05-05 23:37:18 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-06 18:45:31 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/8f1d69227086e739c76da1a22a17...

Powered by Google App Engine
This is Rietveld 408576698