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

Issue 948293002: Add RAPPOR metrics of ServiceWorker.ControlledPage (Closed)

Created:
5 years, 10 months ago by horo
Modified:
5 years, 10 months ago
Reviewers:
falken, Steven Holte, nasko
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add RAPPOR metrics of ServiceWorker.ControlledPage This cl introduce "ServiceWorker.ControlledPage" RAPPOR metrics to understand which origin are driving Service Worker usage. BUG=460855 Committed: https://crrev.com/48d4d3eede5fae249de9417931ac2b0fed1d41dd Cr-Commit-Position: refs/heads/master@{#318387}

Patch Set 1 #

Patch Set 2 : add reppor.xml #

Total comments: 10

Patch Set 3 : incorporated falken's comment #

Total comments: 2

Patch Set 4 : ControlledPageUrl #

Total comments: 2

Patch Set 5 : RecordURLMetric #

Total comments: 4

Patch Set 6 : incorporated nasko's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -9 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 2 3 4 3 chunks +6 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 2 3 4 2 chunks +16 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
horo
falken@ Could you please review this?
5 years, 10 months ago (2015-02-24 08:19:34 UTC) #2
Steven Holte
Remember to update tools/metrics/rappor/rappor.xml
5 years, 10 months ago (2015-02-24 19:42:28 UTC) #4
horo
On 2015/02/24 19:42:28, Steven Holte wrote: > Remember to update tools/metrics/rappor/rappor.xml Done. Thank you.
5 years, 10 months ago (2015-02-25 00:29:26 UTC) #5
falken
Wow fast! The CL description would benefit from a short explanation of what metric we're ...
5 years, 10 months ago (2015-02-25 01:43:59 UTC) #6
horo
https://codereview.chromium.org/948293002/diff/20001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/948293002/diff/20001/content/browser/service_worker/service_worker_metrics.cc#newcode18 content/browser/service_worker/service_worker_metrics.cc:18: void SampleDomainAndRegistryFromGURLOnUI(const GURL&url) { On 2015/02/25 01:43:59, falken wrote: ...
5 years, 10 months ago (2015-02-25 02:27:00 UTC) #7
falken
lgtm https://codereview.chromium.org/948293002/diff/20001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/948293002/diff/20001/content/public/browser/content_browser_client.h#newcode630 content/public/browser/content_browser_client.h:630: virtual void SampleDomainAndRegistryFromGURL(const std::string& metric, On 2015/02/25 02:27:00, ...
5 years, 10 months ago (2015-02-25 03:36:58 UTC) #8
horo
https://codereview.chromium.org/948293002/diff/40001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/948293002/diff/40001/content/browser/service_worker/service_worker_metrics.cc#newcode21 content/browser/service_worker/service_worker_metrics.cc:21: "ServiceWorker.ControlledPage", On 2015/02/25 03:36:58, falken wrote: > just bikeshedding ...
5 years, 10 months ago (2015-02-25 04:30:04 UTC) #9
Steven Holte
https://codereview.chromium.org/948293002/diff/20001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/948293002/diff/20001/content/public/browser/content_browser_client.h#newcode630 content/public/browser/content_browser_client.h:630: virtual void SampleDomainAndRegistryFromGURL(const std::string& metric, On 2015/02/25 03:36:57, falken ...
5 years, 10 months ago (2015-02-25 18:30:12 UTC) #10
Steven Holte
lgtm
5 years, 10 months ago (2015-02-25 18:30:35 UTC) #11
Steven Holte
lgtm
5 years, 10 months ago (2015-02-25 18:30:36 UTC) #12
horo
nasko@ Could you please review content/public/browser/content_browser_client.h? Thank you!
5 years, 10 months ago (2015-02-26 00:56:20 UTC) #14
nasko
https://codereview.chromium.org/948293002/diff/60001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/948293002/diff/60001/content/public/browser/content_browser_client.h#newcode630 content/public/browser/content_browser_client.h:630: virtual void SampleDomainAndRegistryFromGURL(const std::string& metric, This client interface should ...
5 years, 10 months ago (2015-02-26 01:03:20 UTC) #15
horo
https://codereview.chromium.org/948293002/diff/60001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/948293002/diff/60001/content/public/browser/content_browser_client.h#newcode630 content/public/browser/content_browser_client.h:630: virtual void SampleDomainAndRegistryFromGURL(const std::string& metric, On 2015/02/26 01:03:20, nasko ...
5 years, 10 months ago (2015-02-26 07:07:45 UTC) #16
nasko
LGTM with couple of nits. https://codereview.chromium.org/948293002/diff/80001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/948293002/diff/80001/content/public/browser/content_browser_client.h#newcode629 content/public/browser/content_browser_client.h:629: // Records the url ...
5 years, 10 months ago (2015-02-26 14:52:45 UTC) #17
horo
Thank you! https://codereview.chromium.org/948293002/diff/80001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/948293002/diff/80001/content/public/browser/content_browser_client.h#newcode629 content/public/browser/content_browser_client.h:629: // Records the url to collect the ...
5 years, 10 months ago (2015-02-27 00:59:14 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/948293002/100001
5 years, 10 months ago (2015-02-27 01:00:14 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-27 03:04:17 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-27 03:05:01 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/48d4d3eede5fae249de9417931ac2b0fed1d41dd
Cr-Commit-Position: refs/heads/master@{#318387}

Powered by Google App Engine
This is Rietveld 408576698