DescriptionAdd a PersistentStore to FeatureEngagementTracker
Currently we use an InMemoryStore for the FeatureEngagementTracker,
which doesn't persist feature Events beyond the scope of the application
lifetime. However once we move beyond demo mode, the feature engagement
conditions will span months, so we need to track the data for longer
than a single session.
This CL implements the Store interface and backs it with a
leveldb_proto::ProtoDatabase.
BUG=706309
Review-Url: https://codereview.chromium.org/2876633002
Cr-Commit-Position: refs/heads/master@{#471149}
Committed: https://chromium.googlesource.com/chromium/src/+/23b616383acde9c16e0892084498620ecc46856f
Patch Set 1 #Patch Set 2 : Moved test files #Patch Set 3 : Rebased and fleshed out test #
Total comments: 18
Patch Set 4 : Address comments #Patch Set 5 : Rebased #Patch Set 6 : Fix deps #Depends on Patchset: Messages
Total messages: 21 (11 generated)
|