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

Issue 1243293003: Platform-specific prune state storage. (Closed)

Created:
5 years, 5 months ago by grt (UTC plus 2)
Modified:
5 years, 3 months ago
CC:
chromium-reviews, grt+watch_chromium.org, asvitkine+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@prune1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Platform-specific prune state storage. BUG=496744 TBR=sky@chromium.org Committed: https://crrev.com/c1d1b7554e800c0bb446eea791b84493d27aee9d Cr-Commit-Position: refs/heads/master@{#347571}

Patch Set 1 #

Patch Set 2 : compile fix #

Total comments: 1

Patch Set 3 : sync to position 345062 #

Patch Set 4 : fixed test on non-win platforms #

Patch Set 5 : fix IncidentReportingServiceTest failures #

Patch Set 6 : use maps in protocol buffers, more comments, more tests #

Patch Set 7 : map-compatible proto2 messages #

Total comments: 2

Patch Set 8 : histograms tweak #

Total comments: 4

Patch Set 9 : histogram description betterification #

Total comments: 2

Patch Set 10 : new comment and unit test #

Total comments: 13

Patch Set 11 : moved uninstall cleanup to separate cl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+826 lines, -9 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A + chrome/browser/safe_browsing/incident_reporting/BUILD.gn View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc View 1 2 3 4 5 6 3 chunks +13 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/platform_state_store.h View 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/platform_state_store.cc View 1 2 3 4 5 6 1 chunk +200 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/platform_state_store_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc View 1 chunk +103 lines, -0 lines 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/platform_state_store_win_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +179 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/state_store.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/state_store.cc View 5 chunks +29 lines, -1 line 0 comments Download
A chrome/browser/safe_browsing/incident_reporting/state_store_data.proto View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/state_store_unittest.cc View 1 2 3 4 chunks +41 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 3 chunks +23 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 3 chunks +30 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 50 (22 generated)
grt (UTC plus 2)
Cait and Robert: Here's what I have so far for the registry-based state storage. It's ...
5 years, 4 months ago (2015-07-31 04:25:09 UTC) #5
Cait (Slow)
Looks pretty good overall -- but I agree that a few more comments/unittests surrounding the ...
5 years, 4 months ago (2015-08-18 18:19:45 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243293003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243293003/220001
5 years, 3 months ago (2015-08-27 01:25:47 UTC) #13
grt (UTC plus 2)
PTAL pkasting: third_party/protobuf OWNERS review jwd: tools/metrics/histograms OWNERS review Thanks.
5 years, 3 months ago (2015-08-27 01:26:02 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/99230)
5 years, 3 months ago (2015-08-27 02:55:12 UTC) #16
Peter Kasting
(1) The protobuf upgrade was reverted. The best thing to do is going to be ...
5 years, 3 months ago (2015-08-27 07:48:55 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243293003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243293003/240001
5 years, 3 months ago (2015-08-27 20:57:38 UTC) #20
grt (UTC plus 2)
Since the roll of the protobuf library was backed out, I've had to switch from ...
5 years, 3 months ago (2015-08-27 20:58:40 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 22:37:39 UTC) #23
jwd
https://codereview.chromium.org/1243293003/diff/240001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1243293003/diff/240001/tools/metrics/histograms/histograms.xml#newcode38584 tools/metrics/histograms/histograms.xml:38584: + The size, in bytes, of data stored in ...
5 years, 3 months ago (2015-08-28 15:28:59 UTC) #24
grt (UTC plus 2)
Thanks! https://codereview.chromium.org/1243293003/diff/240001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1243293003/diff/240001/tools/metrics/histograms/histograms.xml#newcode38584 tools/metrics/histograms/histograms.xml:38584: + The size, in bytes, of data stored ...
5 years, 3 months ago (2015-08-28 20:20:44 UTC) #25
jwd
lgtm
5 years, 3 months ago (2015-08-31 15:42:36 UTC) #26
Cait (Slow)
looks good overall, just a couple comments -- and the proto <--> pref code is ...
5 years, 3 months ago (2015-08-31 17:55:29 UTC) #27
grt (UTC plus 2)
PTAL! https://codereview.chromium.org/1243293003/diff/260001/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc File chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc (right): https://codereview.chromium.org/1243293003/diff/260001/chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc#newcode50 chrome/browser/safe_browsing/incident_reporting/platform_state_store_win.cc:50: return PlatformStateStoreLoadResult::CLEARED_NO_DATA; On 2015/08/31 17:55:29, Cait wrote: > ...
5 years, 3 months ago (2015-09-01 13:55:23 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243293003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243293003/300001
5 years, 3 months ago (2015-09-01 13:55:43 UTC) #30
robertshield
https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h File chrome/browser/safe_browsing/incident_reporting/platform_state_store.h (right): https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h#newcode42 chrome/browser/safe_browsing/incident_reporting/platform_state_store.h:42: #if defined(USE_PLATFORM_STATE_STORE) I thought it more conventional to provide ...
5 years, 3 months ago (2015-09-01 14:20:12 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/106438)
5 years, 3 months ago (2015-09-01 14:51:54 UTC) #33
Cait (Slow)
lgtm
5 years, 3 months ago (2015-09-01 19:03:05 UTC) #34
grt (UTC plus 2)
PTAL https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h File chrome/browser/safe_browsing/incident_reporting/platform_state_store.h (right): https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h#newcode42 chrome/browser/safe_browsing/incident_reporting/platform_state_store.h:42: #if defined(USE_PLATFORM_STATE_STORE) On 2015/09/01 14:20:12, robertshield wrote: > ...
5 years, 3 months ago (2015-09-03 18:12:06 UTC) #35
robertshield
lgtm https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h File chrome/browser/safe_browsing/incident_reporting/platform_state_store.h (right): https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h#newcode46 chrome/browser/safe_browsing/incident_reporting/platform_state_store.h:46: // sake of testing. On 2015/09/03 18:12:05, grt ...
5 years, 3 months ago (2015-09-05 03:23:25 UTC) #36
Peter Kasting
https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h File chrome/browser/safe_browsing/incident_reporting/platform_state_store.h (right): https://codereview.chromium.org/1243293003/diff/300001/chrome/browser/safe_browsing/incident_reporting/platform_state_store.h#newcode46 chrome/browser/safe_browsing/incident_reporting/platform_state_store.h:46: // sake of testing. On 2015/09/05 03:23:24, robertshield wrote: ...
5 years, 3 months ago (2015-09-05 03:31:55 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243293003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243293003/320001
5 years, 3 months ago (2015-09-05 12:18:55 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/96974)
5 years, 3 months ago (2015-09-05 12:28:58 UTC) #43
grt (UTC plus 2)
TBR sky@chromium.org as OWNER for chrome/browser/BUILD.gn change.
5 years, 3 months ago (2015-09-05 12:47:04 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243293003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243293003/320001
5 years, 3 months ago (2015-09-05 12:47:17 UTC) #47
commit-bot: I haz the power
Committed patchset #11 (id:320001)
5 years, 3 months ago (2015-09-05 13:26:49 UTC) #48
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/c1d1b7554e800c0bb446eea791b84493d27aee9d Cr-Commit-Position: refs/heads/master@{#347571}
5 years, 3 months ago (2015-09-05 13:27:40 UTC) #49
sky
5 years, 3 months ago (2015-09-08 16:21:10 UTC) #50
Message was sent while issue was closed.
chrome/browser/BUILD.gn LGTM

Powered by Google App Engine
This is Rietveld 408576698