[User Education] Move storage service up to c/b/user_education
Storage service should always have been per-profile not per-browser.
Direct access to storage service is needed by IPH session limiting logic
(which is also per-profile) in order to preserve session data across
browser restart in prefs.
This should have no real effect on behavior as the pref data is still
per-profile.
Bug: 1479773
Change-Id: I150c277750e43e644e2a453e3b881ad31a656a65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4977690
Reviewed-by: Dominic Battre <[email protected]>
Reviewed-by: Mickey Burks <[email protected]>
Code-Coverage: [email protected] <[email protected]>
Commit-Queue: Dana Fried <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1215783}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index f4cab49..b423ca4 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -85,13 +85,13 @@
#include "chrome/browser/ui/toolbar/chrome_labs_prefs.h"
#include "chrome/browser/ui/toolbar/chrome_location_bar_model_delegate.h"
#include "chrome/browser/ui/toolbar/toolbar_pref_names.h"
-#include "chrome/browser/ui/user_education/browser_feature_promo_storage_service.h"
#include "chrome/browser/ui/webui/bookmarks/bookmark_prefs.h"
#include "chrome/browser/ui/webui/flags/flags_ui.h"
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
#include "chrome/browser/ui/webui/policy/policy_ui.h"
#include "chrome/browser/ui/webui/print_preview/policy_settings.h"
#include "chrome/browser/updates/announcement_notification/announcement_notification_service.h"
+#include "chrome/browser/user_education/browser_feature_promo_storage_service.h"
#include "chrome/browser/webauthn/chrome_authenticator_request_delegate.h"
#include "chrome/browser/webauthn/webauthn_pref_names.h"
#include "chrome/common/buildflags.h"