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

Issue 264483002: This is the implementation of the primary and secondary blob journals for (Closed)

Created:
6 years, 7 months ago by ericu
Modified:
6 years, 7 months ago
CC:
chromium-reviews, jam, alecflett, ericu+idb_chromium.org, darin-cc_chromium.org, cmumford, dgrogan, jsbell+idb_chromium.org
Visibility:
Public.

Description

This is the implementation of the primary and secondary blob journals for IDB/Blob support. It's not yet used at all, so there are a few fake calls to eliminate compiler errors until the rest of the code lands. BUG=108012 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267665

Patch Set 1 #

Patch Set 2 : Refactoring, tests #

Patch Set 3 : Merge fix #

Patch Set 4 : formatting, cleanup, removed a merge error #

Total comments: 21

Patch Set 5 : Fix Josh's nit. #

Patch Set 6 : Roll in code review feedback #

Patch Set 7 : Export kAllBlobsKey #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -7 lines) Patch
M content/browser/indexed_db/indexed_db_backing_store.h View 1 2 3 4 chunks +5 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 1 2 3 4 5 7 chunks +224 lines, -5 lines 0 comments Download
M content/browser/indexed_db/indexed_db_leveldb_coding.h View 1 2 3 4 5 6 4 chunks +10 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_leveldb_coding.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
ericu
6 years, 7 months ago (2014-04-30 18:18:54 UTC) #1
jsbell
lgtm https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode2065 content/browser/indexed_db/indexed_db_backing_store.cc:2065: BlobJournalType::iterator journal_iter; nit: move into the for()'s init ...
6 years, 7 months ago (2014-04-30 21:18:05 UTC) #2
ericu
https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode2065 content/browser/indexed_db/indexed_db_backing_store.cc:2065: BlobJournalType::iterator journal_iter; On 2014/04/30 21:18:05, jsbell wrote: > nit: ...
6 years, 7 months ago (2014-04-30 21:21:13 UTC) #3
cmumford
https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode491 content/browser/indexed_db/indexed_db_backing_store.cc:491: INTERNAL_READ_ERROR(KEY_EXISTS_IN_OBJECT_STORE); INTERNAL_READ_ERROR_UNTESTED assuming you don't have a unit test ...
6 years, 7 months ago (2014-04-30 21:29:29 UTC) #4
ericu
https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode491 content/browser/indexed_db/indexed_db_backing_store.cc:491: INTERNAL_READ_ERROR(KEY_EXISTS_IN_OBJECT_STORE); On 2014/04/30 21:29:30, cmumford wrote: > INTERNAL_READ_ERROR_UNTESTED assuming ...
6 years, 7 months ago (2014-04-30 22:16:09 UTC) #5
jsbell
https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode509 content/browser/indexed_db/indexed_db_backing_store.cc:509: leveldb_transaction->Remove(level_db_key); On 2014/04/30 22:16:10, ericu wrote: > On 2014/04/30 ...
6 years, 7 months ago (2014-04-30 22:21:45 UTC) #6
cmumford
https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode2266 content/browser/indexed_db/indexed_db_backing_store.cc:2266: return leveldb::Status::OK(); On 2014/04/30 22:16:10, ericu wrote: > On ...
6 years, 7 months ago (2014-04-30 22:32:32 UTC) #7
cmumford
https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/264483002/diff/50001/content/browser/indexed_db/indexed_db_backing_store.cc#newcode491 content/browser/indexed_db/indexed_db_backing_store.cc:491: INTERNAL_READ_ERROR(KEY_EXISTS_IN_OBJECT_STORE); On 2014/04/30 22:16:10, ericu wrote: > On 2014/04/30 ...
6 years, 7 months ago (2014-04-30 22:40:08 UTC) #8
cmumford
lgtm
6 years, 7 months ago (2014-04-30 23:48:29 UTC) #9
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-04-30 23:54:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/264483002/90001
6 years, 7 months ago (2014-04-30 23:55:38 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 23:59:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 23:59:20 UTC) #13
ericu
+asvitkine for owner approval of the histogram change.
6 years, 7 months ago (2014-05-01 00:04:49 UTC) #14
Alexei Svitkine (slow)
lgtm
6 years, 7 months ago (2014-05-01 00:06:52 UTC) #15
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-05-01 13:57:28 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/264483002/100001
6 years, 7 months ago (2014-05-01 13:57:40 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 14:48:19 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-01 14:48:19 UTC) #19
ericu
The CQ bit was checked by ericu@chromium.org
6 years, 7 months ago (2014-05-01 18:31:59 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericu@chromium.org/264483002/100001
6 years, 7 months ago (2014-05-01 18:32:24 UTC) #21
commit-bot: I haz the power
6 years, 7 months ago (2014-05-01 23:38:29 UTC) #22
Message was sent while issue was closed.
Change committed as 267665

Powered by Google App Engine
This is Rietveld 408576698