Rework Performance Tuning prefs
This CL moves the high-efficiency and battery saver mode prefs to local
state, and adds the pref that will contain the tab discarding exceptions
to the profile pref store.
The existing prefs being moved from Profile to Local State have never been read from or written to yet.
Bug: 1308741
Change-Id: I120a326c0466e13b5f577ec925a6f94e316c0bf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3569704
Reviewed-by: Francois Pierre Doray <[email protected]>
Reviewed-by: David Roger <[email protected]>
Reviewed-by: Dominic Battré <[email protected]>
Commit-Queue: Anthony Vallée-Dubois <[email protected]>
Cr-Commit-Position: refs/heads/main@{#995713}
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 156d377..771ecb3 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -1085,6 +1085,7 @@
IntranetRedirectDetector::RegisterPrefs(registry);
media_router::RegisterLocalStatePrefs(registry);
metrics::TabStatsTracker::RegisterPrefs(registry);
+ performance_manager::user_tuning::prefs::RegisterLocalStatePrefs(registry);
RegisterBrowserPrefs(registry);
speech::SodaInstaller::RegisterLocalStatePrefs(registry);
StartupBrowserCreator::RegisterLocalStatePrefs(registry);