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

Issue 2049573003: Implement ProtoDatabase::GetEntry (Closed)

Created:
4 years, 6 months ago by Marc Treib
Modified:
4 years, 6 months ago
Reviewers:
Mathieu
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement ProtoDatabase::GetEntry Before this CL, ProtoDatabase only exposed a LoadEntries method that loads the whole database at once. This CL adds a GetEntry method that loads a single entry. BUG=605870 Committed: https://crrev.com/4fe73e380cb4d0a822f0fd621350d416a8dbfd10 Cr-Commit-Position: refs/heads/master@{#400160}

Patch Set 1 #

Patch Set 2 : add tests #

Total comments: 1

Patch Set 3 : format #

Patch Set 4 : not found vs error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -5 lines) Patch
M components/leveldb_proto/leveldb_database.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M components/leveldb_proto/leveldb_database.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M components/leveldb_proto/proto_database.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M components/leveldb_proto/proto_database_impl.h View 1 2 3 4 chunks +51 lines, -0 lines 0 comments Download
M components/leveldb_proto/proto_database_impl_unittest.cc View 1 2 3 3 chunks +95 lines, -5 lines 0 comments Download
M components/leveldb_proto/testing/fake_db.h View 1 2 6 chunks +38 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (7 generated)
Marc Treib
PTAL! The new method isn't used yet, but the CL that needs it will (hopefully) ...
4 years, 6 months ago (2016-06-14 14:16:06 UTC) #3
Mathieu
On 2016/06/14 at 14:16:06, treib wrote: > PTAL! > > The new method isn't used ...
4 years, 6 months ago (2016-06-15 00:52:45 UTC) #4
Marc Treib
On 2016/06/15 00:52:45, Mathieu Perreault wrote: > On 2016/06/14 at 14:16:06, treib wrote: > > ...
4 years, 6 months ago (2016-06-15 12:35:44 UTC) #5
Marc Treib
https://codereview.chromium.org/2049573003/diff/20001/components/leveldb_proto/proto_database_impl_unittest.cc File components/leveldb_proto/proto_database_impl_unittest.cc (left): https://codereview.chromium.org/2049573003/diff/20001/components/leveldb_proto/proto_database_impl_unittest.cc#oldcode49 components/leveldb_proto/proto_database_impl_unittest.cc:49: ON_CALL(*this, Load(_)).WillByDefault(Return(true)); All these default actions weren't actually needed ...
4 years, 6 months ago (2016-06-15 12:35:59 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/2049573003/60001
4 years, 6 months ago (2016-06-15 12:40:20 UTC) #8
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/246818)
4 years, 6 months ago (2016-06-15 15:13:44 UTC) #10
Mathieu
lgtm, thanks for the delay
4 years, 6 months ago (2016-06-16 14:05:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2049573003/60001
4 years, 6 months ago (2016-06-16 14:13:33 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-16 15:36:32 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-16 15:36:51 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 15:38:23 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4fe73e380cb4d0a822f0fd621350d416a8dbfd10
Cr-Commit-Position: refs/heads/master@{#400160}

Powered by Google App Engine
This is Rietveld 408576698