Move notice storage from components/ to chrome/browser
Bug: 408801109
Change-Id: If4166b02b1b94ab974b30be6b5e45dab7447443e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6431493
Reviewed-by: Joe Mason <[email protected]>
Reviewed-by: Christine Ying <[email protected]>
Reviewed-by: Alex Ilin <[email protected]>
Commit-Queue: Abe Boujane <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1444097}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index ae362e6..24a341d 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -59,6 +59,7 @@
#include "chrome/browser/preloading/prefetch/search_prefetch/search_prefetch_service.h"
#include "chrome/browser/preloading/preloading_prefs.h"
#include "chrome/browser/printing/print_preview_sticky_settings.h"
+#include "chrome/browser/privacy_sandbox/notice/notice_storage.h"
#include "chrome/browser/profiles/chrome_version_service.h"
#include "chrome/browser/profiles/profile_attributes_entry.h"
#include "chrome/browser/profiles/profile_attributes_storage.h"
@@ -151,7 +152,6 @@
#include "components/prefs/pref_registry.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
-#include "components/privacy_sandbox/privacy_sandbox_notice_storage.h"
#include "components/privacy_sandbox/privacy_sandbox_prefs.h"
#include "components/privacy_sandbox/tpcd_pref_names.h"
#include "components/proxy_config/pref_proxy_config_tracker_impl.h"
@@ -1911,6 +1911,7 @@
PrefetchOriginDecider::RegisterPrefs(registry);
PrefsTabHelper::RegisterProfilePrefs(registry, locale);
privacy_sandbox::RegisterProfilePrefs(registry);
+ privacy_sandbox::PrivacySandboxNoticeStorage::RegisterProfilePrefs(registry);
Profile::RegisterProfilePrefs(registry);
ProfileImpl::RegisterProfilePrefs(registry);
ProfileNetworkContextService::RegisterProfilePrefs(registry);