commit | 7e30fc54e018e6a9c194b5d7c854135466c2811e | [log] [tgz] |
---|---|---|
author | Nelly Vouzoukidou <nellyv@google.com> | Mon Oct 29 13:45:22 2018 +0100 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Nov 06 09:25:37 2018 +0000 |
tree | 691810f290b8431b1ed9b11eaaf241e292b1b5c9 | |
parent | 893082db2132e7a0da0bc0408999ff954c59e62b [diff] |
[ledger] Move page usage db directory under <repo_path>/content. Page usage information was stored under <repo_path>/page_usage_db/ This was problematic as deleting a repository directory couldn't be done atomically: two separate directories (content/ and page_usage_db/) needed to be moved to the staging area before being deleted. This CL solves this issue by moving <repo_path>/page_usage_db/ to <repo_path>/content/page_usage_db/ It also fixes a bug, where the RepositoryInformation object was deleted right before it was used in DeleteRepositoryDirectory: OnVersionMismatch was calling LedgerRepositoryContainer::Detach() leading to the deletion of UserSyncImpl which owns the RepositoryInformation object. Test: LedgerEndToEndTest.CloudEraseRecoveryOnInitialCheck, Change-Id: Ic3089bf8cefcfab27d56f33e332e0a0def98c5f3
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.