commit | 16dd0195e67b896abe03e398f3664172ae01c51f | [log] [tgz] |
---|---|---|
author | Ambre Williams <ambre@google.com> | Fri Nov 23 16:43:21 2018 +0100 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Nov 27 14:51:08 2018 +0000 |
tree | 20415ca3e762688a471ab301878d5481c92e001a | |
parent | 637a57e0616bbfeaacbe4813293b257339eac188 [diff] |
[ledger] Initialize StartupContext to nullptr, require IOAsync The pointer to the StartupContext was not initialized in the environment builder, which made a debug assertion pass under normal conditions, but fail with asan. This change sets it explicitly to nullptr by default, and make the test set a valid environment. This change also add an assertion to check the io_dispatcher is present, changes the tests and update the comments to indicate what is required when building an environment. TEST=now passes with asan Change-Id: I48dccdec0891f8333084eb81905f2a15cdcc34d4
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.