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

Issue 2739643003: Make Sber1/2 pref metrics into Nullable Booleans so we can track how often these prefs are unset. (Closed)

Created:
3 years, 9 months ago by lpz
Modified:
3 years, 9 months ago
CC:
chromium-reviews, vakh+watch_chromium.org, asvitkine+watch_chromium.org, Nathan Parker
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Sber1/2 pref metrics into Nullable Booleans so we can track how often these prefs are unset. BUG=699139 Review-Url: https://codereview.chromium.org/2739643003 Cr-Commit-Position: refs/heads/master@{#456059} Committed: https://chromium.googlesource.com/chromium/src/+/53f40b0658b240dd7397a58b29b083631519735f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Also add an explicit "Saw Interstitial" pref and metric. #

Patch Set 3 : Split SawInterstitial pref/metric into SBER1/2 #

Total comments: 2

Patch Set 4 : Rename pref vars, fix rollback case #

Patch Set 5 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -9 lines) Patch
M chrome/browser/profiles/profile.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/safe_browsing_db/safe_browsing_prefs.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M components/safe_browsing_db/safe_browsing_prefs.cc View 1 2 3 6 chunks +59 lines, -8 lines 0 comments Download
M components/safe_browsing_db/safe_browsing_prefs_unittest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 3 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 43 (30 generated)
lpz
3 years, 9 months ago (2017-03-07 16:46:20 UTC) #4
Jialiu Lin
https://codereview.chromium.org/2739643003/diff/1/components/safe_browsing_db/safe_browsing_prefs.cc File components/safe_browsing_db/safe_browsing_prefs.cc (right): https://codereview.chromium.org/2739643003/diff/1/components/safe_browsing_db/safe_browsing_prefs.cc#newcode84 components/safe_browsing_db/safe_browsing_prefs.cc:84: bool pref_value = safe_browsing::IsExtendedReportingEnabled(prefs); how about IsExtendedReportingEnabled() function? Maybe ...
3 years, 9 months ago (2017-03-07 18:07:13 UTC) #5
vakh (use Gerrit instead)
lgtm
3 years, 9 months ago (2017-03-07 18:11:35 UTC) #9
lpz
+mlerman for profile.cc PTAL: I added an explicit "Saw Interstitial" pref and metric. I realized ...
3 years, 9 months ago (2017-03-07 19:34:54 UTC) #13
Mike Lerman
profiles LGTM
3 years, 9 months ago (2017-03-07 19:36:35 UTC) #14
lpz
On 2017/03/07 19:34:54, lpz wrote: > +mlerman for profile.cc > > PTAL: I added an ...
3 years, 9 months ago (2017-03-07 19:53:37 UTC) #15
jwd
lgtm
3 years, 9 months ago (2017-03-08 15:33:37 UTC) #18
lpz
Ok, split SawInterstitial into SBER1/2 variants, and ensured they're cleared on Scout rollback.
3 years, 9 months ago (2017-03-08 20:05:32 UTC) #21
Mike Lerman
https://codereview.chromium.org/2739643003/diff/40001/components/safe_browsing_db/safe_browsing_prefs.h File components/safe_browsing_db/safe_browsing_prefs.h (right): https://codereview.chromium.org/2739643003/diff/40001/components/safe_browsing_db/safe_browsing_prefs.h#newcode29 components/safe_browsing_db/safe_browsing_prefs.h:29: extern const char kSafeBrowsingSawInterstitialSber1[]; Can you make these variable ...
3 years, 9 months ago (2017-03-08 20:08:37 UTC) #22
Jialiu Lin
lgtm
3 years, 9 months ago (2017-03-08 20:09:37 UTC) #23
lpz
https://codereview.chromium.org/2739643003/diff/40001/components/safe_browsing_db/safe_browsing_prefs.h File components/safe_browsing_db/safe_browsing_prefs.h (right): https://codereview.chromium.org/2739643003/diff/40001/components/safe_browsing_db/safe_browsing_prefs.h#newcode29 components/safe_browsing_db/safe_browsing_prefs.h:29: extern const char kSafeBrowsingSawInterstitialSber1[]; On 2017/03/08 20:08:36, Mike Lerman ...
3 years, 9 months ago (2017-03-09 17:58:01 UTC) #37
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/2739643003/80001
3 years, 9 months ago (2017-03-10 14:56:11 UTC) #40
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 15:00:53 UTC) #43
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/53f40b0658b240dd7397a58b29b0...

Powered by Google App Engine
This is Rietveld 408576698