Almanac: download launcher apps from Almanac on every login

Implements a fetcher, which will query the Google Server Almanac on each
user login. The apps queried will be just GFN apps for Launcher until
the full migration is complete and the use case expanded.

Bug: b/296157719

Change-Id: Icbbe3a22d429e583b437872088d09762ff892121
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4909372
Reviewed-by: Dominic Battre <[email protected]>
Reviewed-by: Tim Sergeant <[email protected]>
Commit-Queue: Elitsa Bankova <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1206267}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 4c469af..daf90c5 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -333,6 +333,7 @@
 #include "ash/public/cpp/ambient/ambient_prefs.h"
 #include "ash/public/cpp/ash_prefs.h"
 #include "chrome/browser/apps/app_deduplication_service/app_deduplication_service.h"
+#include "chrome/browser/apps/app_discovery_service/almanac_fetcher.h"
 #include "chrome/browser/apps/app_preload_service/app_preload_service.h"
 #include "chrome/browser/apps/app_service/metrics/app_platform_metrics_service.h"
 #include "chrome/browser/apps/app_service/webapk/webapk_prefs.h"
@@ -1830,6 +1831,7 @@
 
 #if BUILDFLAG(IS_CHROMEOS_ASH)
   app_list::AppListSyncableService::RegisterProfilePrefs(registry);
+  apps::AlmanacFetcher::RegisterProfilePrefs(registry);
   apps::AppPlatformMetricsService::RegisterProfilePrefs(registry);
   apps::AppPreloadService::RegisterProfilePrefs(registry);
   apps::deduplication::AppDeduplicationService::RegisterProfilePrefs(registry);