Chromium Code Reviews
DescriptionMake all member variables in DownloadNotificationService final
Some of the member variables are not final in DNS.
This allows another class to modify those variables without DNS knowing it.
As a result, such modifications is not written into the SharedPreferences.
To address this, other classes should make a new DownloadSharedPreferenceEntry
and call AddOrReplace function to inform DNS about the modification.
BUG=690080
Review-Url: https://codereview.chromium.org/2679933005
Cr-Commit-Position: refs/heads/master@{#449513}
Committed: https://chromium.googlesource.com/chromium/src/+/5bd7014090760813fb68a78a03d4ff90803cdffc
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|
||||||||||||||||||||||||||||