-
Notifications
You must be signed in to change notification settings - Fork 251
Bug 1997373 - Store original pref values for Fenix Gecko integration #7122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ae5eaf6 to
181a21d
Compare
|
Hi @jeddai and @freshstrangemusic , Please take a look at this when you have a chance! I don't have the right repo access to request in the Reviewers panel. |
ohall-m
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the thoughtful comments! Really appreciate all of the rust explanations especially.
I have a couple of ToDos I marked in the comments that I'm still working through. I'm submitting the comments on what has changed to help keep the changes organized for now.
|
First draft comments should be addressed now, thanks! |
The pull request has been modified, dismissing previous reviews.
e255f19 to
75aac28
Compare
3aca4a2 to
0200d98
Compare
|
|
…ation This patch begins storing a `Vec<PreviousGeckoPrefState>` on `ExperimentEnrollment` when it is of type `EnrollmentStatus::Enrolled` for managing the original value of gecko prefs used in an experiment. The public APIs it opens are `registerPreviousGeckoPrefStates` and `getPreviousGeckoPrefStates`.
This patch begins storing a
PreviousGeckoPrefStateonExperimentEnrollmentwhen it is of typeEnrollmentStatus::Enrolledfor managing the original value of gecko prefs used in an experiment.It also introduces
PreviousState::GeckoPrefto hold Gecko original preference values for Gecko pref based experiments.The public APIs it opens are
registerPreviousGeckoPrefStatesandgetPreviousGeckoPrefState.The goal of this patch is to appropriately store the original Gecko preference value to help when exiting an experiment.
Current idea is that it will be set similarly as
unenrollForGeckoPrefin this patch D257390, but for the positive case. Bug 2003370 will use this to properly consume these values when appropriate.Pull Request checklist
[ci full]to the PR title.