This pref will possibly be removed in future, and when that occurs, this
local implementation can be removed too.
Chromium change:
https://chromium.googlesource.com/chromium/src/+/784166ebb585a9f6e12eb2ed4ba1209375b94b3b
commit 784166ebb585a9f6e12eb2ed4ba1209375b94b3b
Author: Mariam Ali <alimariam@google.com>
Date: Tue Jul 5 16:03:18 2022 +0000
Remove FLoC dead code from Privacy Sandbox Service
As FLoC the feature is removed from the codebase, this CL removes all
the logic of string selection for FLoC state as it cannot be changed
by the user.
- remove FLoC state retrieval methods.
- move the string retrieval to the Privacy Sandbox Bridge for android.
- deprecate FLoC prefs.
- remove unit tests for FLoC states that are no longer valid.
A CL to remove all FLoC code along with its UI elements will follow once Privacy Sandbox Settings 3 is launched.
Bug: 1299720