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

Issue 2250623003: Keep ServiceWorkerMetrics::Site in ServiceWorkerVersion (Closed)

Created:
4 years, 4 months ago by horo
Modified:
4 years, 4 months ago
Reviewers:
shimazu
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, 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

Keep ServiceWorkerMetrics::Site in ServiceWorkerVersion To reduce the string comparison in SiteFromURL(). This CL depends on https://codereview.chromium.org/2251633002/. https://codereview.chromium.org/2249063004/ depends on this CL. BUG=561209 Committed: https://crrev.com/5c7b49dbd8ada94c81ee49f9b3508e49a43649d8 Cr-Commit-Position: refs/heads/master@{#413393}

Patch Set 1 : With https://codereview.chromium.org/2251633002/#ps40001 #

Patch Set 2 : diff from https://codereview.chromium.org/2251633002/#ps40001 #

Total comments: 6

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -43 lines) Patch
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.h View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 2 4 chunks +18 lines, -26 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 33 (24 generated)
horo
shimazu@ Could you please review this?
4 years, 4 months ago (2016-08-17 06:45:15 UTC) #17
shimazu
https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.h#newcode159 content/browser/service_worker/service_worker_version.h:159: ServiceWorkerMetrics::Site site_for_uma() const { return site_for_uma_; } I think ...
4 years, 4 months ago (2016-08-18 04:47:36 UTC) #19
horo
https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.h#newcode159 content/browser/service_worker/service_worker_version.h:159: ServiceWorkerMetrics::Site site_for_uma() const { return site_for_uma_; } On 2016/08/18 ...
4 years, 4 months ago (2016-08-18 05:44:54 UTC) #20
shimazu
https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.cc#newcode416 content/browser/service_worker/service_worker_version.cc:416: if (site_for_uma_ != ServiceWorkerMetrics::Site::OTHER) How about using SiteFromURL for ...
4 years, 4 months ago (2016-08-18 06:53:24 UTC) #21
horo
https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.cc#newcode416 content/browser/service_worker/service_worker_version.cc:416: if (site_for_uma_ != ServiceWorkerMetrics::Site::OTHER) On 2016/08/18 06:53:24, shimazu wrote: ...
4 years, 4 months ago (2016-08-21 08:39:58 UTC) #24
shimazu
lgtm https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/2250623003/diff/120001/content/browser/service_worker/service_worker_version.cc#newcode416 content/browser/service_worker/service_worker_version.cc:416: if (site_for_uma_ != ServiceWorkerMetrics::Site::OTHER) On 2016/08/21 08:39:58, horo ...
4 years, 4 months ago (2016-08-22 02:48:03 UTC) #27
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/2250623003/140001
4 years, 4 months ago (2016-08-22 02:59:23 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 4 months ago (2016-08-22 03:03:22 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 03:04:43 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5c7b49dbd8ada94c81ee49f9b3508e49a43649d8
Cr-Commit-Position: refs/heads/master@{#413393}

Powered by Google App Engine
This is Rietveld 408576698