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

Issue 2889323004: Win 10 Inactive toast experiment metrics and storage modifications. (Closed)

Created:
3 years, 7 months ago by nikunjb1
Modified:
3 years, 6 months ago
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Win 10 Inactive toast experiment metrics and storage modifications BUG=717091 Review-Url: https://codereview.chromium.org/2889323004 Cr-Commit-Position: refs/heads/master@{#479571} Committed: https://chromium.googlesource.com/chromium/src/+/0667367bcef7b8105d76e500c80f265bbda69aed

Patch Set 1 #

Patch Set 2 : Win 10 Inactive toast experiment metrics and storage modifications. #

Patch Set 3 : Add unittest for experiment.cc #

Patch Set 4 : Add missing experiment.* files and experiment_metrics.* files #

Patch Set 5 : Apply comments from 2898843002 #

Patch Set 6 : Apply comments from 2898843002 #

Total comments: 28

Patch Set 7 : Incorporate review comments #

Patch Set 8 : Incorporate review comments #

Total comments: 71

Patch Set 9 : Apply review comments #

Total comments: 22

Patch Set 10 : Apply review comment #

Patch Set 11 : Apply review comment #

Patch Set 12 : Apply comment #

Patch Set 13 : Revert extra files #

Total comments: 2

Patch Set 14 : Apply review comments #

Total comments: 50

Patch Set 15 : Apply review comments #

Total comments: 6

Patch Set 16 : Apply comments #

Patch Set 17 : Fix type of returned value from sizeof operator #

Total comments: 2

Patch Set 18 : Apply some comments and try bots errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1488 lines, -0 lines) Patch
M chrome/installer/util/BUILD.gn View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment.h View 1 2 3 4 5 6 7 8 1 chunk +96 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +152 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment_metrics.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +169 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment_storage.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +152 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment_storage.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +479 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment_storage_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +182 lines, -0 lines 0 comments Download
A chrome/installer/util/experiment_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +220 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (22 generated)
nikunjb
Core code in latest patch is ready for review. PTAL (May add few more unittests).
3 years, 7 months ago (2017-05-24 04:54:22 UTC) #3
nikunjb
On 2017/05/24 04:54:22, nikunjb wrote: > Core code in latest patch is ready for review. ...
3 years, 7 months ago (2017-05-24 05:03:26 UTC) #4
grt (UTC plus 2)
some comments from a partial read https://codereview.chromium.org/2889323004/diff/100001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/100001/chrome/installer/util/experiment.cc#newcode15 chrome/installer/util/experiment.cc:15: return round(log(x) / ...
3 years, 7 months ago (2017-05-24 13:43:39 UTC) #5
nikunjb
Ready for second pass review. https://codereview.chromium.org/2889323004/diff/100001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/100001/chrome/installer/util/experiment.cc#newcode15 chrome/installer/util/experiment.cc:15: return round(log(x) / log(b)); ...
3 years, 6 months ago (2017-05-30 21:45:02 UTC) #6
grt (UTC plus 2)
this is coming along nicely! https://codereview.chromium.org/2889323004/diff/140001/chrome/browser/metrics/variations/chrome_variations_service_client.cc File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2889323004/diff/140001/chrome/browser/metrics/variations/chrome_variations_service_client.cc#newcode19 chrome/browser/metrics/variations/chrome_variations_service_client.cc:19: #include "chrome/installer/util/google_update_settings.h" #include "chrome/install_static/install_modes.h" ...
3 years, 6 months ago (2017-05-31 12:24:10 UTC) #7
nikunjb
Ready for next pass https://codereview.chromium.org/2889323004/diff/140001/chrome/browser/metrics/variations/chrome_variations_service_client.cc File chrome/browser/metrics/variations/chrome_variations_service_client.cc (right): https://codereview.chromium.org/2889323004/diff/140001/chrome/browser/metrics/variations/chrome_variations_service_client.cc#newcode19 chrome/browser/metrics/variations/chrome_variations_service_client.cc:19: #include "chrome/installer/util/google_update_settings.h" On 2017/05/31 12:24:09, ...
3 years, 6 months ago (2017-06-02 05:11:24 UTC) #8
grt (UTC plus 2)
this is looking really good. https://codereview.chromium.org/2889323004/diff/140001/chrome/installer/util/experiment_metrics.h File chrome/installer/util/experiment_metrics.h (right): https://codereview.chromium.org/2889323004/diff/140001/chrome/installer/util/experiment_metrics.h#newcode101 chrome/installer/util/experiment_metrics.h:101: // into cohorts for ...
3 years, 6 months ago (2017-06-02 11:30:47 UTC) #9
nikunjb
https://codereview.chromium.org/2889323004/diff/150001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/150001/chrome/installer/util/experiment.cc#newcode15 chrome/installer/util/experiment.cc:15: // Returns closest integer of logarithm of |x| with ...
3 years, 6 months ago (2017-06-02 22:49:48 UTC) #12
grt (UTC plus 2)
https://codereview.chromium.org/2889323004/diff/150001/chrome/installer/util/experiment_storage.cc File chrome/installer/util/experiment_storage.cc (right): https://codereview.chromium.org/2889323004/diff/150001/chrome/installer/util/experiment_storage.cc#newcode216 chrome/installer/util/experiment_storage.cc:216: metrics.state != ExperimentMetrics::kUninitialized) { I this this addition is ...
3 years, 6 months ago (2017-06-08 11:06:23 UTC) #19
nikunjb
Latest patch set 13 https://codereview.chromium.org/2889323004/diff/150001/chrome/installer/util/experiment_storage.cc File chrome/installer/util/experiment_storage.cc (right): https://codereview.chromium.org/2889323004/diff/150001/chrome/installer/util/experiment_storage.cc#newcode216 chrome/installer/util/experiment_storage.cc:216: metrics.state != ExperimentMetrics::kUninitialized) { On ...
3 years, 6 months ago (2017-06-09 02:16:31 UTC) #20
grt (UTC plus 2)
are you waiting on anything else for this to undergo final review + commit? https://codereview.chromium.org/2889323004/diff/230001/chrome/installer/util/experiment_storage.cc ...
3 years, 6 months ago (2017-06-09 08:38:06 UTC) #21
nikunjb
Yes I think it is ready for final review + commit. I am not blocked ...
3 years, 6 months ago (2017-06-09 09:01:45 UTC) #22
grt (UTC plus 2)
some comments. more to come. thanks! https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment.cc#newcode40 chrome/installer/util/experiment.cc:40: // Ignore uninitialized ...
3 years, 6 months ago (2017-06-09 14:04:23 UTC) #27
grt (UTC plus 2)
this is super. comments below. https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment_storage.cc File chrome/installer/util/experiment_storage.cc (right): https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment_storage.cc#newcode269 chrome/installer/util/experiment_storage.cc:269: int ExperimentStorage::ReadUint64Bits(uint64_t source, int ...
3 years, 6 months ago (2017-06-09 20:02:28 UTC) #28
grt (UTC plus 2)
https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment_metrics.h File chrome/installer/util/experiment_metrics.h (right): https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment_metrics.h#newcode65 chrome/installer/util/experiment_metrics.h:65: // User selected 'No Thanks' button from UI after ...
3 years, 6 months ago (2017-06-12 09:40:40 UTC) #29
nikunjb
PatchSet 15 with comments applied. https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment.cc#newcode40 chrome/installer/util/experiment.cc:40: // Ignore uninitialized metrics. ...
3 years, 6 months ago (2017-06-13 00:27:37 UTC) #30
grt (UTC plus 2)
https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/250001/chrome/installer/util/experiment.cc#newcode40 chrome/installer/util/experiment.cc:40: // Ignore uninitialized metrics. On 2017/06/13 00:27:35, nikunjb wrote: ...
3 years, 6 months ago (2017-06-13 12:24:49 UTC) #31
nikunjb
https://codereview.chromium.org/2889323004/diff/270001/chrome/installer/util/experiment_metrics.h File chrome/installer/util/experiment_metrics.h (right): https://codereview.chromium.org/2889323004/diff/270001/chrome/installer/util/experiment_metrics.h#newcode147 chrome/installer/util/experiment_metrics.h:147: // The number of days that have passed since ...
3 years, 6 months ago (2017-06-13 21:27:53 UTC) #32
grt (UTC plus 2)
lgtm!
3 years, 6 months ago (2017-06-14 13:45:43 UTC) #33
grt (UTC plus 2)
https://codereview.chromium.org/2889323004/diff/310001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc (right): https://codereview.chromium.org/2889323004/diff/310001/chrome/installer/util/experiment.cc#newcode51 chrome/installer/util/experiment.cc:51: return; nit: omit
3 years, 6 months ago (2017-06-14 21:13:52 UTC) #38
nikunjb
Also fixed a small error caught by trybot when using sizeof(*) operator. https://codereview.chromium.org/2889323004/diff/310001/chrome/installer/util/experiment.cc File chrome/installer/util/experiment.cc ...
3 years, 6 months ago (2017-06-14 22:42:59 UTC) #39
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/2889323004/330001
3 years, 6 months ago (2017-06-14 23:42:44 UTC) #42
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 01:32:18 UTC) #45
Message was sent while issue was closed.
Committed patchset #18 (id:330001) as
https://chromium.googlesource.com/chromium/src/+/0667367bcef7b8105d76e500c80f...

Powered by Google App Engine
This is Rietveld 408576698