DescriptionGDataDB support with leveldb.
* Define GDataDB interface with methods to Put, Get and Delete. Also define a path-based iterator.
* GDataLevelDB implements GDataDB using leveldb.
* Add methods SerializeToString and FromProtoString to serialize GDataEntry to strings and vice versa.
* GDataDBTests test Put, Get, Delete for files and directories.
* Iterator tests in GDataDBTests.
* GDataDBFactory class to create GDataLevelDB instance.
TODO:
* There is no integration with GDataRootDirectory/GDataFileSystem yet.
BUG=chromium-os:29232
TEST=unittests pass.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133815
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 4
Patch Set 4 : iterator support #Patch Set 5 : fixes #
Total comments: 18
Patch Set 6 : rebase #Patch Set 7 : #Patch Set 8 : minor fixes #Patch Set 9 : rebase #Patch Set 10 : FindEntryByPath #
Total comments: 24
Patch Set 11 : satorux feedback #Patch Set 12 : minor #
Total comments: 20
Patch Set 13 : revert FindEntryByPath #Patch Set 14 : revert find_entry_delegate in gypi #Patch Set 15 : more satorux feedback #
Total comments: 10
Patch Set 16 : sequence_id #Patch Set 17 : final nits #
Total comments: 4
Messages
Total messages: 22 (0 generated)
|