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

Issue 203833003: Add the IndexedDBActiveBlobRegistry, currently unused, to enable future blob (Closed)

Created:
6 years, 9 months ago by ericu
Modified:
6 years, 8 months ago
CC:
chromium-reviews, jam, alecflett, ericu+idb_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dgrogan, jsbell+idb_chromium.org
Visibility:
Public.

Description

Add the IndexedDBActiveBlobRegistry, currently unused, to enable future blob support. BUG=108012 R=cmumford,jsbell Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261440

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Small tweaks and formatting #

Patch Set 4 : build fix #

Patch Set 5 : build fix: export IndexedDBActiveBlobRegistry #

Patch Set 6 : clang fixes #

Total comments: 18

Patch Set 7 : Code review feedback rolled in. #

Total comments: 3

Patch Set 8 : Remove extra TaskRunner params, fix some bugs. #

Patch Set 9 : Reformatted. #

Patch Set 10 : Merged out #

Patch Set 11 : Fix override mismatch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+785 lines, -134 lines) Patch
A content/browser/indexed_db/indexed_db_active_blob_registry.h View 1 2 3 4 5 6 1 chunk +74 lines, -0 lines 0 comments Download
A content/browser/indexed_db/indexed_db_active_blob_registry.cc View 1 2 3 4 5 6 7 1 chunk +148 lines, -0 lines 0 comments Download
A content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +270 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.h View 1 2 3 4 5 6 7 8 9 7 chunks +37 lines, -7 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 1 2 3 4 5 6 7 8 9 6 chunks +47 lines, -14 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc View 5 chunks +32 lines, -10 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory.cc View 1 2 3 4 5 6 7 8 9 3 chunks +37 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 21 chunks +101 lines, -95 lines 0 comments Download
M content/browser/indexed_db/indexed_db_fake_backing_store.h View 2 chunks +10 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_fake_backing_store.cc View 1 2 2 chunks +19 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
ericu
This one's quite a bit messier than the previous ones; we're running out of simple, ...
6 years, 9 months ago (2014-03-20 15:06:14 UTC) #1
jsbell
Some initial nits https://codereview.chromium.org/203833003/diff/90001/content/browser/indexed_db/indexed_db_active_blob_registry.cc File content/browser/indexed_db/indexed_db_active_blob_registry.cc (right): https://codereview.chromium.org/203833003/diff/90001/content/browser/indexed_db/indexed_db_active_blob_registry.cc#newcode28 content/browser/indexed_db/indexed_db_active_blob_registry.cc:28: DCHECK(deleted_dbs_.end() == deleted_dbs_.find(database_id)); Could use stl_util's ...
6 years, 9 months ago (2014-03-20 18:04:32 UTC) #2
cmumford
https://codereview.chromium.org/203833003/diff/90001/content/browser/indexed_db/indexed_db_active_blob_registry.cc File content/browser/indexed_db/indexed_db_active_blob_registry.cc (right): https://codereview.chromium.org/203833003/diff/90001/content/browser/indexed_db/indexed_db_active_blob_registry.cc#newcode89 content/browser/indexed_db/indexed_db_active_blob_registry.cc:89: return false; Should this be a failed DCHECK, or ...
6 years, 9 months ago (2014-03-24 23:14:34 UTC) #3
ericu
https://codereview.chromium.org/203833003/diff/90001/content/browser/indexed_db/indexed_db_active_blob_registry.cc File content/browser/indexed_db/indexed_db_active_blob_registry.cc (right): https://codereview.chromium.org/203833003/diff/90001/content/browser/indexed_db/indexed_db_active_blob_registry.cc#newcode28 content/browser/indexed_db/indexed_db_active_blob_registry.cc:28: DCHECK(deleted_dbs_.end() == deleted_dbs_.find(database_id)); On 2014/03/20 18:04:33, jsbell wrote: > ...
6 years, 9 months ago (2014-03-25 01:22:13 UTC) #4
jsbell
lgtm but with a question that might simplify the patch... https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h File content/browser/indexed_db/indexed_db_factory.h (right): https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h#newcode91 ...
6 years, 9 months ago (2014-03-25 17:01:16 UTC) #5
ericu
https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h File content/browser/indexed_db/indexed_db_factory.h (right): https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h#newcode91 content/browser/indexed_db/indexed_db_factory.h:91: base::TaskRunner* task_runner); On 2014/03/25 17:01:17, jsbell wrote: > Since ...
6 years, 8 months ago (2014-04-02 22:27:23 UTC) #6
jsbell
https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h File content/browser/indexed_db/indexed_db_factory.h (right): https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h#newcode91 content/browser/indexed_db/indexed_db_factory.h:91: base::TaskRunner* task_runner); On 2014/04/02 22:27:23, ericu wrote: > On ...
6 years, 8 months ago (2014-04-02 22:32:42 UTC) #7
cmumford
On 2014/04/02 22:32:42, jsbell wrote: > https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h > File content/browser/indexed_db/indexed_db_factory.h (right): > > https://codereview.chromium.org/203833003/diff/110001/content/browser/indexed_db/indexed_db_factory.h#newcode91 > ...
6 years, 8 months ago (2014-04-02 22:42:38 UTC) #8
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 8 months ago (2014-04-02 23:28:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/203833003/190001
6 years, 8 months ago (2014-04-02 23:34:10 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 00:17:51 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 8 months ago (2014-04-03 00:17:52 UTC) #12
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 8 months ago (2014-04-03 01:21:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/203833003/210001
6 years, 8 months ago (2014-04-03 01:23:14 UTC) #14
Sergey Berezin
The CQ bit was unchecked by sergeyberezin@chromium.org
6 years, 8 months ago (2014-04-03 15:48:21 UTC) #15
Sergey Berezin
The CQ bit was checked by sergeyberezin@chromium.org
6 years, 8 months ago (2014-04-03 15:50:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/203833003/210001
6 years, 8 months ago (2014-04-03 15:51:31 UTC) #17
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 16:26:21 UTC) #18
Message was sent while issue was closed.
Change committed as 261440

Powered by Google App Engine
This is Rietveld 408576698