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

Issue 1952843003: Skeleton of the overall design for the database for Pver4 (Closed)

Created:
4 years, 7 months ago by vakh (use Gerrit instead)
Modified:
4 years, 7 months ago
Reviewers:
Nathan Parker
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skeleton of the overall design for the database for Pver4 Design doc: https://goto.google.com/chromium-pver4-design-doc BUG==543161 Committed: https://crrev.com/8354386e0eb264960f0ccdaa9e3e003ad72f0bcd Cr-Commit-Position: refs/heads/master@{#392211}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Remove v4_database_impl.* and do all of that stuff in v4_database.* itself #

Patch Set 3 : Add TODO comment about not storing current_list_states_ in v4_local_database_manager #

Total comments: 6

Patch Set 4 : Pure virtual factory and a register method for tests #

Total comments: 2

Patch Set 5 : Add space in comment #

Messages

Total messages: 21 (4 generated)
vakh (use Gerrit instead)
4 years, 7 months ago (2016-05-05 16:52:22 UTC) #2
Nathan Parker
https://codereview.chromium.org/1952843003/diff/1/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/1/components/safe_browsing_db/v4_database.h#newcode1 components/safe_browsing_db/v4_database.h:1: // Copyright (c) 2016 The Chromium Authors. All rights ...
4 years, 7 months ago (2016-05-05 18:26:44 UTC) #3
vakh (use Gerrit instead)
Remove v4_database_impl.* and do all of that stuff in v4_database.* itself
4 years, 7 months ago (2016-05-05 23:53:09 UTC) #4
vakh (use Gerrit instead)
Add TODO comment about not storing current_list_states_ in v4_local_database_manager
4 years, 7 months ago (2016-05-06 00:22:01 UTC) #5
vakh (use Gerrit instead)
Thanks for the feedback. PTAL. https://codereview.chromium.org/1952843003/diff/1/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/1/components/safe_browsing_db/v4_database.h#newcode1 components/safe_browsing_db/v4_database.h:1: // Copyright (c) 2016 ...
4 years, 7 months ago (2016-05-06 00:23:15 UTC) #6
vakh (use Gerrit instead)
https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.cc File components/safe_browsing_db/v4_database.cc (right): https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.cc#newcode12 components/safe_browsing_db/v4_database.cc:12: ListInfoMap list_suffix_map) { This should be list_info_map -- I ...
4 years, 7 months ago (2016-05-06 00:41:36 UTC) #7
Nathan Parker
https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.h#newcode18 components/safe_browsing_db/v4_database.h:18: typedef const base::hash_map<UpdateListIdentifier, Are the values here filename post-fixes? ...
4 years, 7 months ago (2016-05-06 16:46:35 UTC) #8
vakh (use Gerrit instead)
Pure virtual factory and a register method for tests
4 years, 7 months ago (2016-05-06 21:26:35 UTC) #9
vakh (use Gerrit instead)
https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.h#newcode18 components/safe_browsing_db/v4_database.h:18: typedef const base::hash_map<UpdateListIdentifier, On 2016/05/06 16:46:35, Nathan Parker wrote: ...
4 years, 7 months ago (2016-05-06 21:27:57 UTC) #10
vakh (use Gerrit instead)
https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/40001/components/safe_browsing_db/v4_database.h#newcode54 components/safe_browsing_db/v4_database.h:54: static V4Database* Create( On 2016/05/06 21:27:57, vakh wrote: > ...
4 years, 7 months ago (2016-05-06 21:32:21 UTC) #11
Nathan Parker
lgtm https://codereview.chromium.org/1952843003/diff/60001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/60001/components/safe_browsing_db/v4_database.h#newcode71 components/safe_browsing_db/v4_database.h:71: //This is used *only* by tests. nit: space ...
4 years, 7 months ago (2016-05-06 22:47:12 UTC) #12
vakh (use Gerrit instead)
Add space in comment
4 years, 7 months ago (2016-05-06 22:50:53 UTC) #13
vakh (use Gerrit instead)
https://codereview.chromium.org/1952843003/diff/60001/components/safe_browsing_db/v4_database.h File components/safe_browsing_db/v4_database.h (right): https://codereview.chromium.org/1952843003/diff/60001/components/safe_browsing_db/v4_database.h#newcode71 components/safe_browsing_db/v4_database.h:71: //This is used *only* by tests. On 2016/05/06 22:47:11, ...
4 years, 7 months ago (2016-05-06 22:51:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952843003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952843003/80001
4 years, 7 months ago (2016-05-06 22:51:39 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-07 00:07:06 UTC) #18
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/8354386e0eb264960f0ccdaa9e3e003ad72f0bcd Cr-Commit-Position: refs/heads/master@{#392211}
4 years, 7 months ago (2016-05-07 00:08:19 UTC) #20
Nico
4 years, 7 months ago (2016-05-07 14:31:00 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/1960893002/ by thakis@chromium.org.

The reason for reverting is: Speculative; lots of browser tests started failing
with leak reports, and all stacks contain "safe browsing". See
https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%2...,
e.g.

[444:555:0506/185642:ERROR:leak_tracker.h(100)] #0 0x7fd9c5c00d0e
base::debug::StackTrace::StackTrace()
#1 0x00000186cf6f base::debug::LeakTracker<>::LeakTracker()
#2 0x0000018635bb SystemURLRequestContextGetter::SystemURLRequestContextGetter()
#3 0x000001865c21 IOThread::InitSystemRequestContext()
#4 0x000001865af5 IOThread::system_url_request_context_getter()
#5 0x000001a08b90 BrowserProcessImpl::system_request_context()
#6 0x000001ef00c4 safe_browsing::SafeBrowsingService::Initialize()
#7 0x000001a0c1b0 BrowserProcessImpl::CreateSafeBrowsingService()
#8 0x000001a0c022 BrowserProcessImpl::safe_browsing_service()
.

Powered by Google App Engine
This is Rietveld 408576698