[ledger] Add LevelDbFactory.

Test: Existing tests still pass

LE-617 #comment Introduce a factory for LevelDb instances.

A single LevelDbFactory is created per LedgerRepositoryFactoryImpl
and all necessary new LevelDb objects (used in PageStorage) are
created through that factory.

For now, methods of LevelDbFactory simply return  new uninitialized
objects. In upcoming CLs an initialized Db instance will be pre-cached
and returned directly when available.

Change-Id: If57c9783d41685c402c42529a63736150158a4bc
22 files changed
tree: ae8c9c87aaa41af3544e0974005bdb44fb47809d
  1. bin/
  2. boards/
  3. build/
  4. cloud/
  5. docs/
  6. examples/
  7. infra/
  8. lib/
  9. manifest/
  10. packages/
  11. products/
  12. public/
  13. tests/
  14. third_party/
  15. web/
  16. .clang-format
  17. .clang-tidy
  18. .gitignore
  19. AUTHORS
  20. BUILD.gn
  21. CONTRIBUTING.md
  22. LICENSE
  23. navbar.md
  24. PATENTS
  25. README.md
README.md

Peridot

Peridot is a framework for composed, intelligent and distributed user experiences.

Applications not explicitly designed to interoperate (and possibly implemented in different programming languages) are ephemerally downloaded and dynamically composed to run in a shared context. The framework manages application lifecycle, resources and view hierarchy; and well as context and suggestion infrastructure.

State of Peridot experiences is transparently synchronized across user devices using a distributed offline-first storage system.

Read more