Add new validator for whether In-Product Help events should be stored.
This CL adds a new interface that will be used to validate whether new events should be stored, and during DB load on startup, it is also used to check if old event should still be kept around. The production implementation of this will be FeatureConfigStorageValidator, which uses the FeatureConfig to check what should be stored, but for now, the NeverStorageValidator will be used for all things to ensure that nothing is ever stored for now. This CL sets up the ownership of the StorageValidator, but does not update the ModelImpl to use the new framework, and leaves that as TODOs. BUG=706309 Change-Id: Ic581edc73f8f059c18fb1dcb5a549c4e62f490f8 Reviewed-on: https://chromium-review.googlesource.com/484682Reviewed-by:David Trainor <dtrainor@chromium.org> Commit-Queue: Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#466875}
Showing
This diff is collapsed.
Please register or sign in to comment