Add app push-install event log manager
This class ties together collection, storage and upload of app
push-install event logs. It creates an |AppInstallEventLogger|
that generates log entries, collects the entries, schedules their
upload to the server and their storage on disk.
All operations related to the log file happen on a background task
runner.
This CL also adds the |AppInstallEventLogger| which, however, for
now does not generate any log entries yet.
Bug: b/73277923
Test: unit_tests
Change-Id: I3eb421111339b1566aa6c7f5d8897af6e16fe090
Reviewed-on: https://chromium-review.googlesource.com/929502
Reviewed-by: Pavol Marko <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Reviewed-by: Luis Hector Chavez <[email protected]>
Cr-Commit-Position: refs/heads/master@{#538814}
diff --git a/components/arc/arc_prefs.h b/components/arc/arc_prefs.h
index 16c37e3..3e97fc4 100644
--- a/components/arc/arc_prefs.h
+++ b/components/arc/arc_prefs.h
@@ -23,6 +23,8 @@
ARC_EXPORT extern const char kArcLocationServiceEnabled[];
ARC_EXPORT extern const char kArcPackages[];
ARC_EXPORT extern const char kArcPaiStarted[];
+ARC_EXPORT extern const char kArcPushInstallAppsRequested[];
+ARC_EXPORT extern const char kArcPushInstallAppsPending[];
ARC_EXPORT extern const char kArcSetNotificationsEnabledDeferred[];
ARC_EXPORT extern const char kArcSignedIn[];
ARC_EXPORT extern const char kArcCompatibleFilesystemChosen[];