[Chromeshine] Initialize Usage Stats databases.
Initialize all ProtoDatabases on construction of UsageStatsDatabase. Initialization is asynchronous, so in the event that a UsageStatsDatabase function is called when the underlying ProtoDatabases are not yet initialized, store a base::Closure in a queue for later execution. Bug: 931476 Change-Id: I76399c3ceb1ad92075af70d5976fa182cb8dfb45 Reviewed-on: https://chromium-review.googlesource.com/c/1474540 Commit-Queue: Natalie Chouinard <chouinard@chromium.org> Reviewed-by:Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#632685}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment